Language

MemoryStorage コンストラクター

定義

オーバーロード

名前 説明
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 = new DefaultContractResolver().

dictionary
Dictionary<String,Newtonsoft.Json.Linq.JObject>

使用する既存のディクショナリ。または null を使用して新しい値を使用します。

適用対象