Share via


IStatePropertyAccessor<T> Interface

Definition

Interface which defines methods for how you can get data from a property source, such as AgentState.

public interface IStatePropertyAccessor<T>
type IStatePropertyAccessor<'T> = interface
Public Interface IStatePropertyAccessor(Of T)

Type Parameters

T

type of the property.

Properties

Name

Gets the name of the property.

Methods

DeleteAsync(ITurnContext, CancellationToken)

Delete the property from the source.

GetAsync(ITurnContext, Func<T>, CancellationToken)

Gets the property value from the source.

SetAsync(ITurnContext, T, CancellationToken)

Set the property value on the source.

Applies to