12 instantiations of ContextualOptionsFactory
Microsoft.Extensions.Options.Contextual.Tests (12)
ContextualOptionsFactoryTests.cs (12)
23var sut = new ContextualOptionsFactory<List<string>>( 37var sut = new ContextualOptionsFactory<List<string>>( 50var sut = new ContextualOptionsFactory<List<string>>( 70var sut = new ContextualOptionsFactory<List<string>>( 91var sut = new ContextualOptions<List<string>, IOptionsContext>(new ContextualOptionsFactory<List<string>>( 111var sut = new ContextualOptionsFactory<List<string>>( 124var sut = new ContextualOptionsFactory<List<string>>( 137var sut = new ContextualOptionsFactory<List<string>>( 150var sut = new ContextualOptionsFactory<List<string>>( 194var sut = new ContextualOptionsFactory<List<string>>( 216var sut = new ContextualOptionsFactory<List<string>>( 241var sut = new ContextualOptionsFactory<List<string>>(
14 references to ContextualOptionsFactory
Microsoft.Extensions.Options.Contextual (2)
ContextualOptionsServiceCollectionExtensions.cs (1)
29services.TryAdd(ServiceDescriptor.Singleton(typeof(IContextualOptionsFactory<>), typeof(ContextualOptionsFactory<>)));
Internal\ContextualOptionsFactory.cs (1)
31/// Initializes a new instance of the <see cref="ContextualOptionsFactory{TOptions}"/> class.
Microsoft.Extensions.Options.Contextual.Tests (12)
ContextualOptionsFactoryTests.cs (11)
23var sut = new ContextualOptionsFactory<List<string>>( 37var sut = new ContextualOptionsFactory<List<string>>( 50var sut = new ContextualOptionsFactory<List<string>>( 70var sut = new ContextualOptionsFactory<List<string>>( 111var sut = new ContextualOptionsFactory<List<string>>( 124var sut = new ContextualOptionsFactory<List<string>>( 137var sut = new ContextualOptionsFactory<List<string>>( 150var sut = new ContextualOptionsFactory<List<string>>( 194var sut = new ContextualOptionsFactory<List<string>>( 216var sut = new ContextualOptionsFactory<List<string>>( 241var sut = new ContextualOptionsFactory<List<string>>(
ContextualOptionsServiceCollectionExtensionsTests.cs (1)
26Assert.IsType<ContextualOptionsFactory<object>>(provider.GetRequiredService<IContextualOptionsFactory<object>>());