IStatePropertyAccessor<T> Interface
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.
Interface which defines methods for how you can get data from a property source, such as BotState.
public interface IStatePropertyAccessor<T> : Microsoft.Bot.Builder.IStatePropertyInfo
type IStatePropertyAccessor<'T> = interface
interface IStatePropertyInfo
Public Interface IStatePropertyAccessor(Of T)
Implements IStatePropertyInfo
Type Parameters
- T
type of the property.
- Implements
Properties
Name |
Gets the name of the property. (Inherited from IStatePropertyInfo) |
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. |