SourcePoint.ReadObjectWithSourcePoints<T> Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
objet désérialisé en type(T).