Sprache

SourcePoint.ReadObjectWithSourcePoints<T> Methode

Definition

Lesen Sie das Objekt als T und geben Sie die Start-/Endpunkte des gelesenen Objekts zurück.

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

Typparameter

T

Art von Objekt, das man deserialisieren sollte.

Parameter

reader
Newtonsoft.Json.JsonReader

Leser zum Vorlesen.

read
Func<Newtonsoft.Json.JsonReader,T>

Funktion zur Verarbeitung während des Lesens.

start
SourcePoint

Ergebnis-Startpunkt für Objekt.

end
SourcePoint

Ergebnis-Endpunkt für Objekt.

Gibt zurück

T

deserialisiertes Objekt als Typ(T).

Gilt für: