Microsoft.Extensions.DependencyInjection.ServiceLookup.StackGuard sealed class StackGuard Documentation Code public StackGuard() public TR RunOnEmptyStack<T1, T2, TR>(Func<T1, T2, TR> action, T1 arg1, T2 arg2) public bool TryEnterOnCurrentStack()