SourcePoint.ReadObjectWithSourcePoints<T> Metode

Definisi

Baca objek sebagai T dan kembalikan titik awal/akhir untuk objek yang dibaca.

public static T ReadObjectWithSourcePoints<T>(Newtonsoft.Json.JsonReader reader, Func<Newtonsoft.Json.JsonReader,T> read, out Microsoft.Bot.Builder.Dialogs.Debugging.SourcePoint start, out Microsoft.Bot.Builder.Dialogs.Debugging.SourcePoint end);
static member ReadObjectWithSourcePoints : Newtonsoft.Json.JsonReader * Func<Newtonsoft.Json.JsonReader, 'T> * SourcePoint * SourcePoint -> 'T
Public Shared Function ReadObjectWithSourcePoints(Of T) (reader As JsonReader, read As Func(Of JsonReader, T), ByRef start As SourcePoint, ByRef end As SourcePoint) As T

Jenis parameter

T

jenis objek yang akan dideserialisasi.

Parameter

reader
Newtonsoft.Json.JsonReader

pembaca untuk membaca dari.

read
Func<Newtonsoft.Json.JsonReader,T>

berfungsi untuk diproses selama membaca.

start
SourcePoint

titik awal hasil untuk objek.

end
SourcePoint

titik akhir hasil untuk objek.

Mengembalikan

T

objek deserialisasi sebagai jenis (T).

Berlaku untuk