Position Class
This ILocator helps distinguish an IAIObject that may appear multiple times in the application by its position.

C# Syntax

public class Position
Public Constructors
 NameDescription
Public ConstructorPosition Constructor

Constructs a new Position that can be used to uniquely identify an IAIObject by its position.

C# Syntax

public Position ()
Public ConstructorPosition Constructor (Direction, int)

Constructs a new Position that can be used to uniquely identify an IAIObject by its position.

C# Syntax

public Position (Direction direction, int index)

Parameters

direction

The direction in which to count the position index.

index

The ordinal number of the object in the context. Starting with 0 for the first object. The objects that match the description are counter in the direction specified.

Top
Public Methods
 NameDescription
Public MethodGetProperties

Returns the inner properties of this property.  

C# Syntax

public IDictionary<string,object> GetProperties()
Public MethodToString

C# Syntax

public override string ToString()
 
Top
Public Properties
 NameDescription
Public PropertyDirection

The direction in which to count the position index.

C# Syntax

public Direction Direction {get; set;}
Public PropertyIndex

The ordinal number of the object in the context.

C# Syntax

public int Index {get; set;}
Top