Partilhar via


ConfigureOptions<TOptions>(Action<TOptions>) Constructor

Definition

Constructor.

public:
 ConfigureOptions(Action<TOptions> ^ action);
public ConfigureOptions (Action<TOptions>? action);
new Microsoft.Extensions.Options.ConfigureOptions<'Options (requires 'Options : null)> : Action<'Options (requires 'Options : null)> -> Microsoft.Extensions.Options.ConfigureOptions<'Options (requires 'Options : null)>
Public Sub New (action As Action(Of TOptions))

Parameters

action
Action<TOptions>

The action to register.

Applies to