1 implementation of IContextualOptionsFactory
Microsoft.Extensions.Options.Contextual (1)
Internal\ContextualOptionsFactory.cs (1)
21
internal sealed class ContextualOptionsFactory<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TOptions> :
IContextualOptionsFactory
<TOptions>
4 references to IContextualOptionsFactory
Microsoft.Extensions.Options.Contextual (4)
ContextualOptionsServiceCollectionExtensions.cs (1)
29
services.TryAdd(ServiceDescriptor.Singleton(typeof(
IContextualOptionsFactory
<>), typeof(ContextualOptionsFactory<>)));
Internal\ContextualOptions.cs (2)
19
private readonly
IContextualOptionsFactory
<TOptions> _factory;
25
public ContextualOptions(
IContextualOptionsFactory
<TOptions> factory)
Internal\ContextualOptionsFactory.cs (1)
18
/// Implementation of <see cref="
IContextualOptionsFactory
{TOptions}"/>.