ActivationRuleCollection Class

Defines the structure for a collection of activation rule objects be accessed by index.

Namespace: tsdata.trading

Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property Count int Gets the number of activation rule objects in the collection.
Public property IsReadOnly bool True if the collection is read-only.
Public property Item[index] object Gets the activation rule object at the specified index. See PriceActivationRule for the Item properties.
Methods
  Name Description
Public property Add( Ticket ) Adds an item with the provided name to the list.
Public property Clear Removes all IDs from the list.
Public property Contains( Ticket ) True if the list contains the specified name.
Public property Create Initializes a new instance of the class.
Public property IndexOf( Ticket ) Get the index of the list item with the specified name.
Public property Insert( Index, Ticket ) Inserts a name after the specified index position.
Public property Remove( Ticket ) Removes the first occurrence of a specified name from the list.
Public property RemoveAt( Index ) Removes a name from the list at a specified index position.
Operators
  Name Description
Public Method += Used in an expression to add a PriceActivationRule to the collection.
Public Method -= Used in an expression to remove a PriceActivationRule from the collection.
Inheritance Hierarchy

elsystem.Object

tsdata.trading.ActivationRuleCollection