Język

DialogExpressionConverter.ReadJson Metoda

Definicja

Odczytuje reprezentację obiektu DialogExpression w JSON.

public override Microsoft.Bot.Builder.Dialogs.Adaptive.DialogExpression ReadJson(Newtonsoft.Json.JsonReader reader, Type objectType, Microsoft.Bot.Builder.Dialogs.Adaptive.DialogExpression existingValue, bool hasExistingValue, Newtonsoft.Json.JsonSerializer serializer);
override this.ReadJson : Newtonsoft.Json.JsonReader * Type * Microsoft.Bot.Builder.Dialogs.Adaptive.DialogExpression * bool * Newtonsoft.Json.JsonSerializer -> Microsoft.Bot.Builder.Dialogs.Adaptive.DialogExpression
Public Overrides Function ReadJson (reader As JsonReader, objectType As Type, existingValue As DialogExpression, hasExistingValue As Boolean, serializer As JsonSerializer) As DialogExpression

Parametry

reader
Newtonsoft.Json.JsonReader

Element do odczytania Newtonsoft.Json.JsonReader .

objectType
Type

Typ obiektu.

existingValue
DialogExpression

Istniejąca wartość DialogExpression bycia czytanym. Jeśli nie ma istniejącej wartości, używa się wartości null.

hasExistingValue
Boolean

Wskazuje, czy existingValue ma wartość.

serializer
Newtonsoft.Json.JsonSerializer

Serializator wywołań.

Zwraca

Zinterpretowany DialogExpression obiekt.

Dotyczy