PollingWildCardChangeToken Classe

Definição

Um IChangeToken baseado em sondagem para padrões de curinga.A polling based IChangeToken for wildcard patterns.

public ref class PollingWildCardChangeToken : Microsoft::Extensions::Primitives::IChangeToken
public class PollingWildCardChangeToken : Microsoft.Extensions.Primitives.IChangeToken
type PollingWildCardChangeToken = class
    interface IChangeToken
Public Class PollingWildCardChangeToken
Implements IChangeToken
Herança
PollingWildCardChangeToken
Implementações

Construtores

PollingWildCardChangeToken(String, String)

Inicializa uma nova instância de PollingWildCardChangeToken.Initializes a new instance of PollingWildCardChangeToken.

Propriedades

ActiveChangeCallbacks

Indica se este token gerará proativamente retornos de chamada.Indicates if this token will pro-actively raise callbacks. Se false, o consumidor do token deverá sondar HasChanged para detectar alterações.If false, the token consumer must poll HasChanged to detect changes.

HasChanged

Obtém um valor que indica se uma alteração ocorreu.Gets a value that indicates if a change has occurred.

Métodos

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)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetLastWriteUtc(String)

Obtém a hora da última gravação do arquivo no path especificado.Gets the last write time of the file at the specified path.

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)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Implantações explícitas de interface

IChangeToken.RegisterChangeCallback(Action<Object>, Object)

Registra para um retorno de chamada que será invocado quando a entrada for alterada.Registers for a callback that will be invoked when the entry has changed. HasChanged PRECISA ser definido antes de o retorno de chamada ser invocado.HasChanged MUST be set before the callback is invoked.

Aplica-se a