Click or drag to resize

MarketRuleTToken, TArgDoTResult Method (FuncTResult)

To add the action, returning result, activated at occurrence of condition.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public MarketRule<TToken, TArg> Do<TResult>(
	Func<TResult> action
)

Parameters

action
Type: SystemFuncTResult
The action, returning a result.

Type Parameters

TResult
The type of returned result.

Return Value

Type: MarketRuleTToken, TArg
Rule.
See Also