ConfigurationChangeTokenSource<TOptions> Class
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.
Creates IChangeTokens so that IOptionsMonitor<TOptions> gets notified when IConfiguration changes.
generic <typename TOptions>
public ref class ConfigurationChangeTokenSource : Microsoft::Extensions::Options::IOptionsChangeTokenSource<TOptions>
public class ConfigurationChangeTokenSource<TOptions> : Microsoft.Extensions.Options.IOptionsChangeTokenSource<TOptions>
type ConfigurationChangeTokenSource<'Options> = class
interface IOptionsChangeTokenSource<'Options>
Public Class ConfigurationChangeTokenSource(Of TOptions)
Implements IOptionsChangeTokenSource(Of TOptions)
Type Parameters
- TOptions
- Inheritance
-
ConfigurationChangeTokenSource<TOptions>
- Derived
- Implements
Constructors
ConfigurationChangeTokenSource<TOptions>(IConfiguration) |
Constructor taking the IConfiguration instance to watch. |
ConfigurationChangeTokenSource<TOptions>(String, IConfiguration) |
Constructor taking the IConfiguration instance to watch. |
Properties
Name |
The name of the option instance being changed. |
Methods
GetChangeToken() |
Returns the reloadToken from the IConfiguration. |
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.