[]
坐标定位器扩展类。
public static class LocationIndicatorExtension
增加定位器。
public static LocationIndicator AppendLocation(this LocationIndicator current, LocationIndicator target)
| 类型 | 名称 | 描述 |
|---|---|---|
| LocationIndicator | current | |
| LocationIndicator | target |
| 类型 | 描述 |
|---|---|
| LocationIndicator |
增加一个属性定位器。
public static LocationIndicator AppendProperty(this LocationIndicator current, string propertyName)
| 类型 | 名称 | 描述 |
|---|---|---|
| LocationIndicator | current | 当前坐标定位器。 |
| string | propertyName | 要增加的属性定位器的名称。 |
| 类型 | 描述 |
|---|---|
| LocationIndicator | 返回增加了属性定位器的坐标定位器。 |
坐标定位器所在链表中的对象定位器中是否包含特定的对象。
public static bool ContainObject(this LocationIndicator current, object obj)
| 类型 | 名称 | 描述 |
|---|---|---|
| LocationIndicator | current | 当前坐标定位器。 |
| object | obj | 查找的对象。 |
| 类型 | 描述 |
|---|---|
| bool | 返回true则包含,否则不包含。 |
坐标定位器所在链表中的属性定位器中是否包含特定的属性。
public static bool ContainProperty(this LocationIndicator current, string property)
| 类型 | 名称 | 描述 |
|---|---|---|
| LocationIndicator | current | 当前坐标定位器。 |
| string | property | 查找的属性名称。 |
| 类型 | 描述 |
|---|---|
| bool | 返回true则包含,否则不包含。 |