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