OptionsMonitor<TOptions> Classe
Definição
Implementação de IOptionsMonitor<TOptions>.Implementation of IOptionsMonitor<TOptions>.
generic <typename TOptions>
where TOptions : class, gcnew()public ref class OptionsMonitor : Microsoft::Extensions::Options::IOptionsMonitor<TOptions>
generic <typename TOptions>
where TOptions : class, gcnew()public ref class OptionsMonitor : IDisposable, Microsoft::Extensions::Options::IOptionsMonitor<TOptions>
generic <typename TOptions>
where TOptions : classpublic ref class OptionsMonitor : IDisposable, Microsoft::Extensions::Options::IOptionsMonitor<TOptions>
public class OptionsMonitor<TOptions> : Microsoft.Extensions.Options.IOptionsMonitor<TOptions> where TOptions : class, new()
public class OptionsMonitor<TOptions> : IDisposable, Microsoft.Extensions.Options.IOptionsMonitor<TOptions> where TOptions : class, new()
public class OptionsMonitor<TOptions> : IDisposable, Microsoft.Extensions.Options.IOptionsMonitor<TOptions> where TOptions : class
type OptionsMonitor<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))> = class
interface IOptionsMonitor<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))>
type OptionsMonitor<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))> = class
interface IOptionsMonitor<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))>
interface IDisposable
type OptionsMonitor<'Options (requires 'Options : null)> = class
interface IOptionsMonitor<'Options (requires 'Options : null)>
interface IDisposable
Public Class OptionsMonitor(Of TOptions)
Implements IOptionsMonitor(Of TOptions)
Public Class OptionsMonitor(Of TOptions)
Implements IDisposable, IOptionsMonitor(Of TOptions)
Parâmetros de tipo
- TOptions
Tipo de opções.Options type.
- Herança
-
OptionsMonitor<TOptions>
- Implementações
Construtores
Propriedades
| CurrentValue |
O valor atual das opções.The present value of the options. |
Métodos
| Dispose() |
Remove todas as assinaturas de registro de alteração.Removes all change registration subscriptions. |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| Get(String) |
Retorna a instância |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| OnChange(Action<TOptions,String>) |
Registra um ouvinte a ser chamado sempre que |
| OnChange(Action<TOptions>) |
Registra um ouvinte a ser chamado sempre que TOptions for alterado.Registers a listener to be called whenever TOptions changes. |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |
Métodos de Extensão
| OnChange<TOptions>(IOptionsMonitor<TOptions>, Action<TOptions>) |
Registra um ouvinte a ser chamado sempre que |