MemoryStorage コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| MemoryStorage(Dictionary<String,JObject>) |
MemoryStorage クラスの新しいインスタンスを初期化します。 |
| MemoryStorage(JsonSerializer, Dictionary<String,JObject>) |
MemoryStorage クラスの新しいインスタンスを初期化します。 |
MemoryStorage(Dictionary<String,JObject>)
MemoryStorage クラスの新しいインスタンスを初期化します。
public MemoryStorage(System.Collections.Generic.Dictionary<string,Newtonsoft.Json.Linq.JObject> dictionary = default);
new Microsoft.Bot.Builder.MemoryStorage : System.Collections.Generic.Dictionary<string, Newtonsoft.Json.Linq.JObject> -> Microsoft.Bot.Builder.MemoryStorage
Public Sub New (Optional dictionary As Dictionary(Of String, JObject) = Nothing)
パラメーター
- dictionary
- Dictionary<String,Newtonsoft.Json.Linq.JObject>
使用する既存のディクショナリ。新しいものを使用する場合は null。
適用対象
MemoryStorage(JsonSerializer, Dictionary<String,JObject>)
MemoryStorage クラスの新しいインスタンスを初期化します。
public MemoryStorage(Newtonsoft.Json.JsonSerializer jsonSerializer, System.Collections.Generic.Dictionary<string,Newtonsoft.Json.Linq.JObject> dictionary = default);
new Microsoft.Bot.Builder.MemoryStorage : Newtonsoft.Json.JsonSerializer * System.Collections.Generic.Dictionary<string, Newtonsoft.Json.Linq.JObject> -> Microsoft.Bot.Builder.MemoryStorage
Public Sub New (jsonSerializer As JsonSerializer, Optional dictionary As Dictionary(Of String, JObject) = Nothing)
パラメーター
- jsonSerializer
- Newtonsoft.Json.JsonSerializer
カスタム JsonSerializer を渡す場合は、次の設定をお勧めします。
jsonSerializer.TypeNameHandling = TypeNameHandling.All。
jsonSerializer.NullValueHandling = NullValueHandling.Include。
jsonSerializer.ContractResolver = 新しい DefaultContractResolver()。
- dictionary
- Dictionary<String,Newtonsoft.Json.Linq.JObject>
使用する既存のディクショナリ。新しいものを使用する場合は null。