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)
12event Action<BeginScopeContext> ScopeStarted; 16Func<BeginScopeContext, bool>? BeginEnabled { get; set; } 18IProducerConsumerCollection<BeginScopeContext> Scopes { get; set; } 24void Begin(BeginScopeContext context);
tests\Shared\Logging\TestSink.cs (9)
10private ConcurrentQueue<BeginScopeContext> _scopes; 15Func<BeginScopeContext, bool>? beginEnabled = null) 20_scopes = new ConcurrentQueue<BeginScopeContext>(); 26public Func<BeginScopeContext, bool>? BeginEnabled { get; set; } 28public IProducerConsumerCollection<BeginScopeContext> Scopes { get => _scopes; set => _scopes = new ConcurrentQueue<BeginScopeContext>(value); } 34public event Action<BeginScopeContext>? ScopeStarted; 45public void Begin(BeginScopeContext context) 59public static bool EnableWithTypeName<T>(BeginScopeContext context)