Exemplo n.º 1
0
 public IDisposable BeginScope <TState>(TState state) where TState : notnull => ScopeProvider?.Push(state) ?? NullScope.Instance;
Exemplo n.º 2
0
 public IDisposable BeginScope <TState>(TState state) => ScopeProvider?.Push(state) ?? null;
Exemplo n.º 3
0
 /// <inheritdoc />
 public IDisposable BeginScope <TState>(TState state)
 {
     return(ScopeProvider?.Push(state) ?? NopScopeProvider.NopScope.Instance);
 }
Exemplo n.º 4
0
 public IDisposable BeginScope <TState>(TState state)
 {
     return(ScopeProvider?.Push(state) ?? GitFileNullScope.Instance);
 }