13 references to LoadContextualOptions
Microsoft.Extensions.Options.Contextual (2)
ContextualOptionsServiceCollectionExtensions.cs (2)
65
new
LoadContextualOptions
<TOptions>(
96
new
LoadContextualOptions
<TOptions>(
Microsoft.Extensions.Options.Contextual.Tests (11)
ContextualOptionsFactoryTests.cs (11)
65
new
LoadContextualOptions
<List<string>>(
86
new
LoadContextualOptions
<List<string>>(
106
new
LoadContextualOptions
<List<string>>(
172
new
(string.Empty, (context, _) =>
177
new
(string.Empty, async (context, cancellationToken) =>
182
new
(string.Empty, (context, _) =>
187
new
(string.Empty, (context, _) =>
212
new
(string.Empty, (context, _) => new ValueTask<IConfigureContextualOptions<List<string>>>(Mock.Of<IConfigureContextualOptions<List<string>>>(MockBehavior.Strict))),
213
new
(string.Empty, (context, _) => throw new NotSupportedException()),
237
new
(string.Empty, (context, _) => new ValueTask<IConfigureContextualOptions<List<string>>>(Mock.Of<IConfigureContextualOptions<List<string>>>(MockBehavior.Strict))),
238
new
(string.Empty, (context, _) => new ValueTask<IConfigureContextualOptions<List<string>>>(disposeMock.Object)),