MarketRuleList

StockSharp.Algo

Rule list.

Inherits: SynchronizedSet<IMarketRule>

Implements: IMarketRuleList, INotifyList<IMarketRule>, INotifyCollection<IMarketRule>, ICollection<IMarketRule>, IEnumerable<IMarketRule>, IEnumerable, IList<IMarketRule>, ISynchronizedCollection, ISynchronizable

Constructors

MarketRuleList(IMarketRuleContainer)

Rule list.

container
The rules container.

Methods

GetRulesByToken(object) : IEnumerable<IMarketRule>

To get all rules, associated with tokens.

token
Token rules.

Returns: All rules, associated with token.

OnAdded(IMarketRule)

Adding the element.

item
Element.
OnClearing() : bool

Clearing elements.

Returns: The sign of possible action.

OnRemoved(IMarketRule)

Deleting the element.

item
Element.