Class Position
This ILocator helps distinguish an IAIObject that may appear multiple times in the application by its position.
public class Position : ILocator
- Inheritance
-
Position
- Implements
- Inherited Members
Constructors
Position()
public Position()
Position(Direction, int)
public Position(Direction direction, int index)
Parameters
directionDirectionThe direction in which to count the position index.
indexintThe ordinal number of the object in the context. Starting with 0 for the first object. The objects that match the description are counted in the direction specified.
Properties
Direction
The direction in which to count the position index.
public Direction Direction { get; set; }
Property Value
Index
The ordinal number of the object in the context.
public int Index { get; set; }
Property Value
Methods
GetProperties()
Returns the inner properties of this property.
public IDictionary<string, object> GetProperties()
Returns
ToString()
public override string ToString()