Lingua

IStatePropertyAccessor<T> Interfaccia

Definizione

Interfaccia che definisce metodi per ottenere dati da una fonte di proprietà, come BotState.

public interface IStatePropertyAccessor<T> : Microsoft.Bot.Builder.IStatePropertyInfo
type IStatePropertyAccessor<'T> = interface
    interface IStatePropertyInfo
Public Interface IStatePropertyAccessor(Of T)
Implements IStatePropertyInfo

Parametri di tipo

T

tipo della proprietà .

Implementazioni

Proprietà

Nome Descrizione
Name

Ottiene il nome della proprietà.

(Ereditato da IStatePropertyInfo)

Metodi

Nome Descrizione
DeleteAsync(ITurnContext, CancellationToken)

Eliminare la proprietà dall'origine.

GetAsync(ITurnContext, Func<T>, CancellationToken)

Ottiene il valore della proprietà dalla fonte.

SetAsync(ITurnContext, T, CancellationToken)

Impostare il valore della proprietà nell'origine.

Si applica a