8 writes to ShutdownCallback
Aspire.Dashboard.Tests (8)
Telemetry\AzureMonitorTelemetryProviderTests.cs (6)
34ShutdownCallback = timeout => 47ShutdownCallback = timeout => 91traceProcessor.ShutdownCallback = Drain; 92logProcessor.ShutdownCallback = Drain; 133var traceProcessor = new TestTelemetryProcessor<Activity> { ForceFlushCallback = Flush, ShutdownCallback = Shutdown }; 134var logProcessor = new TestTelemetryProcessor<LogRecord> { ForceFlushCallback = Flush, ShutdownCallback = Shutdown };
Telemetry\DashboardTelemetryManagerTests.cs (2)
196var traceProcessor = new TestTelemetryProcessor<Activity> { ShutdownCallback = timeout => Shutdown("trace", timeout) }; 197var logProcessor = new TestTelemetryProcessor<LogRecord> { ShutdownCallback = timeout => Shutdown("log", timeout) };
1 reference to ShutdownCallback
Aspire.Dashboard.Tests (1)
tests\Shared\Telemetry\TestTelemetryProcessor.cs (1)
18protected override bool OnShutdown(int timeoutMilliseconds) => ShutdownCallback(timeoutMilliseconds);