1 implementation of IOptionsSnapshot
Microsoft.Extensions.Options (1)
OptionsManager.cs (1)
15
IOptionsSnapshot
<TOptions>
6 references to IOptionsSnapshot
Microsoft.AspNetCore.Components.WebAssembly.Authentication (2)
Services\DefaultRemoteApplicationPathsProvider.cs (1)
14
public DefaultRemoteApplicationPathsProvider(
IOptionsSnapshot
<RemoteAuthenticationOptions<TProviderOptions>> options)
Services\RemoteAuthenticationService.cs (1)
70
IOptionsSnapshot
<RemoteAuthenticationOptions<TProviderOptions>> options,
Microsoft.Extensions.Options (3)
OptionsBuilderExtensions.cs (1)
35
/// <see cref="
IOptionsSnapshot
{TOptions}"/> validates synchronously in per-scope caches that startup validation
OptionsManager.cs (1)
10
/// Implements <see cref="IOptions{TOptions}"/> and <see cref="
IOptionsSnapshot
{TOptions}"/>.
OptionsServiceCollectionExtensions.cs (1)
27
services.TryAdd(ServiceDescriptor.Scoped(typeof(
IOptionsSnapshot
<>), typeof(OptionsManager<>)));
Microsoft.Extensions.Options.DataAnnotations (1)
OptionsBuilderDataAnnotationsExtensions.cs (1)
28
/// The built-in <see cref="
IOptionsSnapshot
{TOptions}"/> implementation always uses synchronous attribute