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