SourcePoint.ReadObjectWithSourcePoints<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Read object as T and return the start/end points for the object that was read.
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
Type Parameters
- T
type of object to deserialize.
Parameters
- reader
- Newtonsoft.Json.JsonReader
reader to read from.
- read
- Func<Newtonsoft.Json.JsonReader,T>
function to process during reading.
- start
- SourcePoint
result start point for object.
- end
- SourcePoint
result end point for object.
Returns
T
deserialized object as type(T).