Aracılığıyla paylaş


ConfigureOptions<TOptions>(Action<TOptions>) Oluşturucu

Tanım

Oluşturucu.

public:
 ConfigureOptions(Action<TOptions> ^ action);
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))

Parametreler

action
Action<TOptions>

Kaydedilecek eylem.

Şunlara uygulanır