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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.