Interface IPropertyManager
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
stringThe name of the property accessor.
Returns
- IStatePropertyAccessor<T>
A state property accessor for the property.
Type Parameters
T
The property value type.