Jaa


SourcePoint Class

Definition

SourcePoint represents the line and character index into the source code or declarative object backing an object in memory.

public class SourcePoint : IEquatable<Microsoft.Bot.Builder.Dialogs.Debugging.SourcePoint>
type SourcePoint = class
    interface IEquatable<SourcePoint>
Public Class SourcePoint
Implements IEquatable(Of SourcePoint)
Inheritance
SourcePoint
Implements

Constructors

SourcePoint()

Initializes a new instance of the SourcePoint class.

SourcePoint(Int32, Int32)

Initializes a new instance of the SourcePoint class.

Properties

CharIndex

Gets or sets char index on the line from lineindex.

LineIndex

Gets or sets line number into the source file.

Methods

DeepClone()

Creates a new instance of the SourcePoint. All properties are recursively cloned.

Equals(Object)

Indicates wether the current SourcePoint is equal to another object.

Equals(SourcePoint)

Indicates wether the current SourcePoint is equal to another object of the same type.

From(JsonReader)

Get point from JsonReader.

GetHashCode()

Creates a hash code for the current SourcePoint.

ReadObjectWithSourcePoints<T>(JsonReader, Func<JsonReader,T>, SourcePoint, SourcePoint)

Read object as T and return the start/end points for the object that was read.

ToString()

Returns a string that represents the current SourcePoint.

Applies to