語言

SourcePoint 類別

定義

SourcePoint 表示原始碼或宣告式物件中,作為物件背後的行與字元索引。

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

建構函式

名稱 Description
SourcePoint()

初始化 SourcePoint 類別的新執行個體。

SourcePoint(Int32, Int32)

初始化 SourcePoint 類別的新執行個體。

屬性

名稱 Description
CharIndex

從 lineindex 的行上取得或設定 char 索引。

LineIndex

將行號輸入或設定到來源檔案中。

方法

名稱 Description
DeepClone()

建立一個新的 實例。SourcePoint 所有屬性皆為遞迴克隆。

Equals(Object)

表示電流 SourcePoint 是否等於另一個物體。

Equals(SourcePoint)

表示電流 SourcePoint 是否等於同類型的另一個物體。

From(JsonReader)

從 JsonReader 獲取點數。

GetHashCode()

為當前 SourcePoint的雜湊碼 。

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

將物件讀作 T,並回傳所讀取物件的起點/終點。

ToString()

回傳一個代表當前 SourcePoint的字串。

適用於