Langue

SourcePoint.ReadObjectWithSourcePoints<T> Méthode

Définition

Lire l’objet comme T et retourner les points de départ/fin de l’objet 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

un type d’objet à désérialiser.

Paramètres

reader
Newtonsoft.Json.JsonReader

Lecteur à lire.

read
Func<Newtonsoft.Json.JsonReader,T>

fonction à traiter pendant la lecture.

start
SourcePoint

point de départ du résultat.

end
SourcePoint

résultat point final pour l’objet.

Retours

T

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

S’applique à