Jazyk

SourcePoint.ReadObjectWithSourcePoints<T> Metoda

Definice

Přečtěte objekt jako T a vraťte začáteční/koncové body pro objekt, který byl přečten.

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

Parametry typu

T

typ objektu pro deserializaci.

Parametry

reader
Newtonsoft.Json.JsonReader

Čtenář, od kterého můžete číst.

read
Func<Newtonsoft.Json.JsonReader,T>

Funkce zpracovávat během čtení.

start
SourcePoint

Výsledek počátečního bodu pro objekt.

end
SourcePoint

Výsledek je konečný bod pro objekt.

Návraty

T

deserializoval objekt jako typ(T).

Platí pro