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