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中获取或设置char索引。 |
| 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类型的字符串。 |