共用方式為


ConfigureFromConfigurationOptions<TOptions>(IConfiguration) Constructor

Definition

Constructor that takes the IConfiguration instance to bind against.

public:
 ConfigureFromConfigurationOptions(Microsoft::Extensions::Configuration::IConfiguration ^ config);
public ConfigureFromConfigurationOptions (Microsoft.Extensions.Configuration.IConfiguration config);
new Microsoft.Extensions.Options.ConfigureFromConfigurationOptions<'Options (requires 'Options : null)> : Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Extensions.Options.ConfigureFromConfigurationOptions<'Options (requires 'Options : null)>
Public Sub New (config As IConfiguration)

Parameters

config
IConfiguration

The IConfiguration instance.

Applies to