語言

DialogExpressionConverter.ReadJson 方法

定義

讀取物件的 DialogExpression 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

參數

reader
Newtonsoft.Json.JsonReader

這是 Newtonsoft.Json.JsonReader 閱讀的參考。

objectType
Type

物件的類型。

existingValue
DialogExpression

被閱讀的現有價值 DialogExpression 。 若無現有值,則使用 null。

hasExistingValue
Boolean

表示存在值是否有值。

serializer
Newtonsoft.Json.JsonSerializer

呼叫序列器。

傳回

被詮釋的 DialogExpression 物件。

適用於