11 implementations of OnChange
Aspire.Dashboard.Tests (1)
OtlpApiKeyAuthenticationHandlerTests.cs (1)
112public IDisposable OnChange(Action<T, string> listener) => throw new NotImplementedException();
Microsoft.AspNetCore.HostFiltering.Tests (1)
MiddlewareConfigurationManagerTests.cs (1)
105public IDisposable OnChange(Action<T, string> listener)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
RequestTimeoutsMiddlewareBenchmark.cs (1)
144public IDisposable OnChange(Action<RequestTimeoutOptions, string> listener)
Microsoft.AspNetCore.Http.Tests (1)
Timeouts\RequestTimeoutsMiddlewareTests.cs (1)
391public IDisposable OnChange(Action<RequestTimeoutOptions, string> listener)
Microsoft.AspNetCore.HttpLogging.Tests (1)
OptionsWrapperMonitor.cs (1)
17public IDisposable OnChange(Action<T, string> listener)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (1)
StaticOptionsMonitor.cs (1)
21public IDisposable OnChange(Action<T, string> listener)
Microsoft.Extensions.Logging (1)
StaticFilterOptionsMonitor.cs (1)
16public IDisposable? OnChange(Action<LoggerFilterOptions, string> listener) => null;
Microsoft.Extensions.Logging.Console (1)
FormatterOptionsMonitor.cs (1)
23public IDisposable? OnChange(Action<TOptions, string> listener)
Microsoft.Extensions.Options (1)
OptionsMonitor.cs (1)
109public IDisposable OnChange(Action<TOptions, string> listener)
Microsoft.Extensions.Telemetry.Tests (2)
Logging\ExtendedLoggerTests.cs (1)
956public IDisposable? OnChange(Action<T, string> listener) => null;
Logging\SerialExtendedLoggerTests.cs (1)
96public IDisposable? OnChange(Action<T, string> listener) => null;
3 references to OnChange
Aspire.Dashboard.Tests (1)
Integration\OtlpGrpcServiceTests.cs (1)
199using var monitorRegistration = app.DashboardOptionsMonitor.OnChange((o, n) =>
Microsoft.Extensions.Http.Resilience (1)
Internal\NamedOptionsCache.cs (1)
19_ = optionsMonitor.OnChange((options, name) =>
Microsoft.Extensions.Options (1)
OptionsMonitorExtensions.cs (1)
24=> monitor.OnChange((o, _) => listener(o));