1 instantiation of BeginScopeContext
Microsoft.AspNetCore.InternalTesting (1)
Logging\TestLogger.cs (1)
33
_sink.Begin(new
BeginScopeContext
()
14 references to BeginScopeContext
Microsoft.AspNetCore.InternalTesting (13)
Logging\ITestSink.cs (4)
13
event Action<
BeginScopeContext
> ScopeStarted;
17
Func<
BeginScopeContext
, bool> BeginEnabled { get; set; }
19
IProducerConsumerCollection<
BeginScopeContext
> Scopes { get; set; }
25
void Begin(
BeginScopeContext
context);
Logging\TestSink.cs (9)
11
private ConcurrentQueue<
BeginScopeContext
> _scopes;
16
Func<
BeginScopeContext
, bool> beginEnabled = null)
21
_scopes = new ConcurrentQueue<
BeginScopeContext
>();
27
public Func<
BeginScopeContext
, bool> BeginEnabled { get; set; }
29
public IProducerConsumerCollection<
BeginScopeContext
> Scopes { get => _scopes; set => _scopes = new ConcurrentQueue<
BeginScopeContext
>(value); }
35
public event Action<
BeginScopeContext
> ScopeStarted;
46
public void Begin(
BeginScopeContext
context)
60
public static bool EnableWithTypeName<T>(
BeginScopeContext
context)
Microsoft.AspNetCore.InternalTesting.Tests (1)
LoggedTestXunitTests.cs (1)
146
BeginScopeContext
context = null;