ConfigurationChangeTokenSource<TOptions> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConfigurationChangeTokenSource<TOptions>(IConfiguration) |
Constructor taking the IConfiguration instance to watch. |
ConfigurationChangeTokenSource<TOptions>(String, IConfiguration) |
Constructor taking the IConfiguration instance to watch. |
ConfigurationChangeTokenSource<TOptions>(IConfiguration)
Constructor taking the IConfiguration instance to watch.
public:
ConfigurationChangeTokenSource(Microsoft::Extensions::Configuration::IConfiguration ^ config);
public ConfigurationChangeTokenSource (Microsoft.Extensions.Configuration.IConfiguration config);
new Microsoft.Extensions.Options.ConfigurationChangeTokenSource<'Options> : Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Extensions.Options.ConfigurationChangeTokenSource<'Options>
Public Sub New (config As IConfiguration)
Parameters
- config
- IConfiguration
The configuration instance.
Applies to
ConfigurationChangeTokenSource<TOptions>(String, IConfiguration)
Constructor taking the IConfiguration instance to watch.
public:
ConfigurationChangeTokenSource(System::String ^ name, Microsoft::Extensions::Configuration::IConfiguration ^ config);
public ConfigurationChangeTokenSource (string? name, Microsoft.Extensions.Configuration.IConfiguration config);
new Microsoft.Extensions.Options.ConfigurationChangeTokenSource<'Options> : string * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Extensions.Options.ConfigurationChangeTokenSource<'Options>
Public Sub New (name As String, config As IConfiguration)
Parameters
- name
- String
The name of the options instance being watched.
- config
- IConfiguration
The configuration instance.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.