Is there an ability for direct event handling in NT?
For example, i need to process order execution events from outside of the main class( inherited from Strategy).
Can i use constructions like:
public void Method(Strategy strategy)
{
strategy.OnExecutionEvent += () => { .. } //OnExecutionEvent is only for example
}
or i need to call all methods that i need from OnExecution(IExecution execution) method of the main class?
Please show me the right way :-)
Thanls for your help.
Comment