9 instantiations of GlobalLogBufferingOptions
Microsoft.Extensions.Telemetry.Tests (9)
Buffering\GlobalLogBufferingConfigureOptionsTests.cs (8)
18var options = new GlobalLogBufferingOptions(); 25Assert.Equivalent(new GlobalLogBufferingOptions(), options); 32var options = new GlobalLogBufferingOptions(); 40Assert.Equivalent(new GlobalLogBufferingOptions(), options); 56var options = new GlobalLogBufferingOptions(); 63Assert.Equivalent(new GlobalLogBufferingOptions(), options); 82var options = new GlobalLogBufferingOptions(); 112var options = new GlobalLogBufferingOptions();
Buffering\GlobalLogBufferingOptionsCustomValidatorTests.cs (1)
16var options = new GlobalLogBufferingOptions
35 references to GlobalLogBufferingOptions
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\AcceptanceTests.cs (2)
870builder.Services.Configure<GlobalLogBufferingOptions>(options => 920builder.Services.Configure<GlobalLogBufferingOptions>(options =>
Microsoft.Extensions.Telemetry (23)
Buffering\GlobalBuffer.cs (3)
26private readonly IOptionsMonitor<GlobalLogBufferingOptions> _options; 46IOptionsMonitor<GlobalLogBufferingOptions> options, 162private void OnOptionsChanged(GlobalLogBufferingOptions? updatedOptions)
Buffering\GlobalBufferLoggingBuilderExtensions.cs (10)
36.Services.AddOptionsWithValidateOnStart<GlobalLogBufferingOptions, GlobalLogBufferingOptionsValidator>() 37.Services.AddOptionsWithValidateOnStart<GlobalLogBufferingOptions, GlobalLogBufferingOptionsCustomValidator>() 38.Services.AddSingleton<IConfigureOptions<GlobalLogBufferingOptions>>( 40.AddSingleton<IOptionsChangeTokenSource<GlobalLogBufferingOptions>>( 41new ConfigurationChangeTokenSource<GlobalLogBufferingOptions>(configuration)); 56public static ILoggingBuilder AddGlobalBuffer(this ILoggingBuilder builder, Action<GlobalLogBufferingOptions> configure) 62.Services.AddOptionsWithValidateOnStart<GlobalLogBufferingOptions, GlobalLogBufferingOptionsValidator>() 63.Services.AddOptionsWithValidateOnStart<GlobalLogBufferingOptions, GlobalLogBufferingOptionsCustomValidator>() 84.Services.AddOptionsWithValidateOnStart<GlobalLogBufferingOptions, GlobalLogBufferingOptionsValidator>() 85.Services.AddOptionsWithValidateOnStart<GlobalLogBufferingOptions, GlobalLogBufferingOptionsCustomValidator>()
Buffering\GlobalLogBufferingConfigureOptions.cs (4)
10internal sealed class GlobalLogBufferingConfigureOptions : IConfigureOptions<GlobalLogBufferingOptions> 20public void Configure(GlobalLogBufferingOptions options) 33GlobalLogBufferingOptions? parsedOptions = section.Get<GlobalLogBufferingOptions>();
Buffering\GlobalLogBufferingOptionsCustomValidator.cs (2)
10internal sealed class GlobalLogBufferingOptionsCustomValidator : IValidateOptions<GlobalLogBufferingOptions> 14public ValidateOptionsResult Validate(string? name, GlobalLogBufferingOptions options)
Buffering\GlobalLogBufferingOptionsValidator.cs (1)
10internal sealed partial class GlobalLogBufferingOptionsValidator : IValidateOptions<GlobalLogBufferingOptions>
Buffering\GlobalLogBufferManager.cs (3)
15private readonly IOptionsMonitor<GlobalLogBufferingOptions> _options; 21IOptionsMonitor<GlobalLogBufferingOptions> options) 28IOptionsMonitor<GlobalLogBufferingOptions> options,
Microsoft.Extensions.Telemetry.Tests (10)
Buffering\GlobalBufferLoggerBuilderExtensionsTests.cs (4)
58builder.Services.Configure<GlobalLogBufferingOptions>(options => 64var options = serviceProvider.GetService<IOptionsMonitor<GlobalLogBufferingOptions>>(); 117IOptionsMonitor<GlobalLogBufferingOptions>? options = dlf.ServiceProvider.GetService<IOptionsMonitor<GlobalLogBufferingOptions>>();
Buffering\GlobalLogBufferingConfigureOptionsTests.cs (5)
18var options = new GlobalLogBufferingOptions(); 32var options = new GlobalLogBufferingOptions(); 56var options = new GlobalLogBufferingOptions(); 82var options = new GlobalLogBufferingOptions(); 112var options = new GlobalLogBufferingOptions();
Buffering\GlobalLogBufferingOptionsCustomValidatorTests.cs (1)
16var options = new GlobalLogBufferingOptions