Język

SourcePoint.ReadObjectWithSourcePoints<T> Metoda

Definicja

Odczytuj obiekt jako T i zwróć punkty początkowe/końcowe dla odczytanego obiektu.

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 obiektu do deserializacji.

Parametry

reader
Newtonsoft.Json.JsonReader

Czytnik do czytania.

read
Func<Newtonsoft.Json.JsonReader,T>

Funkcja do przetwarzania podczas czytania.

start
SourcePoint

punkt startowy dla obiektu wyniku.

end
SourcePoint

Końcowy punkt końcowy dla obiektu.

Zwraca

T

zdeserializowany obiekt jako typ(T).

Dotyczy