Click or drag to resize

IMarketRuleDoTResult 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#
IMarketRule 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: IMarketRule
Rule.
See Also