コード例 #1
0
ファイル: ConsoleLogger.cs プロジェクト: pedrobsaila/runtime
 public IDisposable BeginScope <TState>(TState state) where TState : notnull => ScopeProvider?.Push(state) ?? NullScope.Instance;
コード例 #2
0
 public IDisposable BeginScope <TState>(TState state) => ScopeProvider?.Push(state) ?? null;
コード例 #3
0
 /// <inheritdoc />
 public IDisposable BeginScope <TState>(TState state)
 {
     return(ScopeProvider?.Push(state) ?? NopScopeProvider.NopScope.Instance);
 }
コード例 #4
0
 public IDisposable BeginScope <TState>(TState state)
 {
     return(ScopeProvider?.Push(state) ?? GitFileNullScope.Instance);
 }