<PackageReference Include="Microsoft.Extensions.Options" Version="10.0.9" />
Microsoft.Extensions.Options.ConfigureNamedOptions<TOptions, TDep1, TDep2, TDep3>
public Action<
TOptions,
TDep1,
TDep2,
TDep3>
Action {
get; }
Gets the configuration action.
Gets the first dependency.
Gets the second dependency.
Gets the third dependency.
public string Name {
get; }
Gets the options name.
public ConfigureNamedOptions(
string name,
TDep1 dependency,
TDep2 dependency2,
TDep3 dependency3,
Action<
TOptions,
TDep1,
TDep2,
TDep3>
action)
Constructor.
public virtual void Configure(
string name,
TOptions options)
Invokes the registered configure
Action if the
name matches.