Table of Contents

Interface IPropertyManager

Namespace
Microsoft.Agents.Builder.State
Assembly
Microsoft.Agents.Builder.dll

IPropertyManager defines implementation of a source of named properties.

public interface IPropertyManager

Methods

CreateProperty<T>(string)

Creates a managed state property accessor for a property.

[Obsolete("Use AgentState Get/Set methods and call AgentState.LoadAsync or use AutoSaveStateMiddleware.")]
IStatePropertyAccessor<T> CreateProperty<T>(string name)

Parameters

name string

The name of the property accessor.

Returns

IStatePropertyAccessor<T>

A state property accessor for the property.

Type Parameters

T

The property value type.