AIContextProvider.StateKeys Property

Definition

Gets the set of keys used to store the provider state in the StateBag.

public virtual System.Collections.Generic.IReadOnlyList<string> StateKeys { get; }
member this.StateKeys : System.Collections.Generic.IReadOnlyList<string>
Public Overridable ReadOnly Property StateKeys As IReadOnlyList(Of String)

Property Value

Remarks

The default value is a single-element set containing the name of the concrete type (e.g. "TextSearchProvider"). Implementations may override this to provide custom keys, for example when multiple instances of the same provider type are used in the same session, or when a provider stores state under more than one key.

Applies to