1 instantiation of BeginScopeContext
Aspire.Dashboard.Components.Tests (1)
tests\Shared\Logging\TestLogger.cs (1)
29
_sink.Begin(new
BeginScopeContext
()
13 references to BeginScopeContext
Aspire.Dashboard.Components.Tests (13)
tests\Shared\Logging\ITestSink.cs (4)
12
event Action<
BeginScopeContext
> ScopeStarted;
16
Func<
BeginScopeContext
, bool>? BeginEnabled { get; set; }
18
IProducerConsumerCollection<
BeginScopeContext
> Scopes { get; set; }
24
void Begin(
BeginScopeContext
context);
tests\Shared\Logging\TestSink.cs (9)
10
private ConcurrentQueue<
BeginScopeContext
> _scopes;
15
Func<
BeginScopeContext
, bool>? beginEnabled = null)
20
_scopes = new ConcurrentQueue<
BeginScopeContext
>();
26
public Func<
BeginScopeContext
, bool>? BeginEnabled { get; set; }
28
public IProducerConsumerCollection<
BeginScopeContext
> Scopes { get => _scopes; set => _scopes = new ConcurrentQueue<
BeginScopeContext
>(value); }
34
public event Action<
BeginScopeContext
>? ScopeStarted;
45
public void Begin(
BeginScopeContext
context)
59
public static bool EnableWithTypeName<T>(
BeginScopeContext
context)