Click or drag to resize

MarketRuleHelperApply Method (IMarketRule, IMarketRuleContainer)

Сформировать правило (включить IsReady).

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public static IMarketRule Apply(
	this IMarketRule rule,
	IMarketRuleContainer container
)

Parameters

rule
Type: StockSharp.AlgoIMarketRule
Правило.
container
Type: StockSharp.AlgoIMarketRuleContainer
Контейнер правил.

Return Value

Type: IMarketRule
Правило.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMarketRule. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also