Interface IMarketRuleList
- Namespace
- StockSharp.Algo
- Assembly
- StockSharp.Algo.dll
The interface, describing the rules list.
public interface IMarketRuleList : INotifyList<IMarketRule>, INotifyCollection<IMarketRule>, IList<IMarketRule>, ICollection<IMarketRule>, IEnumerable<IMarketRule>, IEnumerable, ISynchronizedCollection
- Inherited Members
- Extension Methods
Properties
Tokens
To get all active tokens of rules.
IEnumerable<object> Tokens { get; }
Property Value
Methods
GetRulesByToken(object)
To get all rules, associated with tokens.
IEnumerable<IMarketRule> GetRulesByToken(object token)
Parameters
token
objectToken rules.
Returns
- IEnumerable<IMarketRule>
All rules, associated with token.
RemoveRulesByToken(object, IMarketRule)
Delete all rules, for which Token is equal to token
.
void RemoveRulesByToken(object token, IMarketRule currentRule)
Parameters
token
objectToken rules.
currentRule
IMarketRuleThe current rule that has initiated deletion. If it was passed, it will not be deleted.