SourcePoint 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
- 实现
构造函数
SourcePoint() |
初始化 SourcePoint 类的新实例。 |
SourcePoint(Int32, Int32) |
初始化 SourcePoint 类的新实例。 |
属性
CharIndex |
获取或设置 lineindex 中行的字符索引。 |
LineIndex |
获取或设置源文件中的行号。 |
方法
DeepClone() |
创建 SourcePoint 的新实例。 以递归方式克隆所有属性。 |
Equals(Object) |
指示当前 SourcePoint 等于另一个对象。 |
Equals(SourcePoint) |
指示当前 SourcePoint 等于同一类型的另一个对象。 |
From(JsonReader) |
从 JsonReader 获取点。 |
GetHashCode() |
为当前 SourcePoint创建哈希代码。 |
ReadObjectWithSourcePoints<T>(JsonReader, Func<JsonReader,T>, SourcePoint, SourcePoint) |
将对象读取为 T,并返回所读取对象的起点/终点。 |
ToString() |
返回表示当前 SourcePoint 的字符串。 |