DialogSetConverter.ReadJson 方法

定义

读取 对象的 JSON 表示形式 DialogSet

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

参数

reader
Newtonsoft.Json.JsonReader

要从其中进行读取的 Newtonsoft.Json.JsonReader

objectType
Type

对象的类型。

existingValue
DialogSet

正在读取的现有 DialogSet 值。 如果没有现有值,则将使用 null。

hasExistingValue
Boolean

指示 existingValue 是否具有值。

serializer
Newtonsoft.Json.JsonSerializer

调用的序列化程序。

返回

解释的对象 DialogSet

适用于