Share via


SourceRange Class

Definition

Range represents a file, starting point and end point of text .

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

Constructors

SourceRange()

Initializes a new instance of the SourceRange class.

SourceRange(String, Int32, Int32, Int32, Int32)

Initializes a new instance of the SourceRange class.

Properties

Designer

Gets or sets the optional designer information.

EndPoint

Gets or sets end point in the source file.

Path

Gets or sets path to source file.

StartPoint

Gets or sets start point in the source file.

Methods

DeepClone()

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

Equals(Object)

Indicates wether the current SourceRange is equal to another object.

Equals(SourceRange)

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

GetHashCode()

Creates a hash code for the current SourceRange.

ToString()

Returns a string that represents the current SourceRange.

Applies to