Partager via


SourcePoint.ReadObjectWithSourcePoints<T> Méthode

Définition

Lisez l’objet en tant que T et retournez les points de début/de fin de l’objet qui a été lu.

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

Paramètres de type

T

type d’objet à désérialiser.

Paramètres

reader
Newtonsoft.Json.JsonReader

lecteur à partir duquel lire.

read
Func<Newtonsoft.Json.JsonReader,T>

à traiter pendant la lecture.

start
SourcePoint

point de départ du résultat pour l’objet.

end
SourcePoint

point de terminaison de résultat pour l’objet.

Retours

T

objet désérialisé en tant que type(T).

S’applique à