Click or drag to resize

MarketRuleTToken, TArg Methods

The MarketRuleTToken, TArg generic type exposes the following members.

Methods
  NameDescription
Protected methodActivate
To activate the rule.
Protected methodActivate(TArg)
To activate the rule.
Public methodActivated(Action)
To add the processor, which will be called at action activation.
Public methodActivatedTResult(ActionTResult)
Protected methodCanFinish
Can the rule be ended.
Public methodDispose (Inherited from Disposable.)
Protected methodDisposeManaged
Release resources.
(Overrides Disposable.DisposeManaged.)
Protected methodDisposeNative (Inherited from Disposable.)
Public methodDo(Action)
To add the action, activated at occurrence of condition.
Public methodDo(ActionTArg)
To add the action, activated at occurrence of condition.
Public methodDo(ActionMarketRuleTToken, TArg, TArg)
To add the action, activated at occurrence of condition.
Public methodDoTResult(FuncTResult)
To add the action, returning result, activated at occurrence of condition.
Public methodDoTResult(FuncTArg, TResult)
To add the action, returning result, activated at occurrence of condition.
Public methodDoTResult(FuncMarketRuleTToken, TArg, TArg, TResult)
To add the action, returning result, activated at occurrence of condition.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Inherited from Disposable.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodThrowIfDisposed (Inherited from Disposable.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodUntil
To make the rule periodical (will be called until canFinish returns ).
Top
Extension Methods
  NameDescription
Public Extension MethodAnd
To combine rules by AND condition.
(Defined by MarketRuleHelper.)
Public Extension MethodApplyOverloaded.
To form a rule (include IsReady).
(Defined by MarketRuleHelper.)
Public Extension MethodApply(IMarketRuleContainer)Overloaded.
To form a rule (include IsReady).
(Defined by MarketRuleHelper.)
Public Extension MethodCancel
To create an action, cancelling the order.
(Defined by StrategyHelper.)
Public Extension MethodExclusive
To make rules mutually exclusive.
(Defined by MarketRuleHelper.)
Public Extension MethodOr
To combine rules by OR condition.
(Defined by MarketRuleHelper.)
Public Extension MethodRegister
To create an action, registering the order.
(Defined by StrategyHelper.)
Public Extension MethodReRegister
To create an action, re-registering the order.
(Defined by StrategyHelper.)
Top
See Also