Udostępnij przez


DialogExpressionConverter.ReadJson Metoda

Definicja

Odczytuje reprezentację DialogExpression obiektu w formacie 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ść odczytywania DialogExpression . Jeśli nie ma istniejącej wartości, zostanie użyta wartość null.

hasExistingValue
Boolean

Wskazuje, czy element existingValue ma wartość.

serializer
Newtonsoft.Json.JsonSerializer

Wywołujący serializator.

Zwraca

Obiekt interpretowany DialogExpression .

Dotyczy