DialogStateManager 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
DialogStateManager 會管理記憶體範圍和 pathresolvers MemoryScopes 的名稱根層級物件,這些物件可以存在於 dialogcoNtext 或關閉關閉狀態 PathResolvers 中,允許快捷方式行為來對應$foo - > dialog.foo 等專案。
public class DialogStateManager : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>
type DialogStateManager = class
interface IDictionary<string, obj>
interface ICollection<KeyValuePair<string, obj>>
interface seq<KeyValuePair<string, obj>>
interface IEnumerable
Public Class DialogStateManager
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object))
- 繼承
-
DialogStateManager
- 實作
-
ICollection<KeyValuePair<String,Object>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,Object> IEnumerable<KeyValuePair<String,Object>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable
建構函式
DialogStateManager(DialogContext, DialogStateManagerConfiguration) |
初始化 DialogStateManager 類別的新執行個體。 |
屬性
Configuration |
取得或設定對話方塊狀態管理員的已設定路徑解析程式和記憶體範圍。 |
Count |
取得對話方塊狀態管理員中的記憶體範圍數目。 |
IsReadOnly |
取得值,指出對話方塊狀態管理員是否為唯讀。 |
Item[String] |
取得或設定具有指定索引鍵的專案。 |
Keys |
取得 , ICollection<T> 其中包含記憶體範圍的索引鍵。 |
Values |
取得 , ICollection<T> 其中包含記憶體範圍的值。 |
方法
明確介面實作
IEnumerable.GetEnumerator() |
DialogStateManager 會管理記憶體範圍和 pathresolvers MemoryScopes 的名稱根層級物件,這些物件可以存在於 dialogcoNtext 或關閉關閉狀態 PathResolvers 中,允許快捷方式行為來對應$foo - > dialog.foo 等專案。 |