<PackageReference Include="Microsoft.Extensions.Options" Version="10.0.8" />

Microsoft.Extensions.Options.PostConfigureOptions<TOptions, TDep1, TDep2, TDep3>

public class PostConfigureOptions<TOptions, TDep1, TDep2, TDep3> : IPostConfigureOptions<TOptions>
Implementation of IPostConfigureOptions<T>.
public Action<TOptions, TDep1, TDep2, TDep3> Action { get; }

Gets the configuration action.

public TDep1 Dependency1 { get; }

Gets the first dependency.

public TDep2 Dependency2 { get; }

Gets the second dependency.

public TDep3 Dependency3 { get; }

Gets the third dependency.

public string Name { get; }

Gets the options name.

public PostConfigureOptions(string name, TDep1 dependency, TDep2 dependency2, TDep3 dependency3, Action<TOptions, TDep1, TDep2, TDep3> action)

Initializes a new instance of PostConfigureOptions<T, U, V, W>.

public virtual void PostConfigure(string name, TOptions options)

Invokes the registered initialization Action if the name matches.

public void PostConfigure(TOptions options)

Configures a TOptions instance using the DefaultName.