I would have question to the support. Below there are two sample codes, which do the following:
- At all OnBarUpdate, it changes the value of static property of the static ClassOne.
- ClassTwo, in its own constructor, subscribes the event of ClassOne PropertyChanged.
- I define ClassTwo in the strategy.
- A TESTEventTrace1: it defines ClassTwo like this in the strategy
private ClassTwo cl2;
protected override void OnBarUpdate()
{
if (cl2 == null)
cl2 = new ClassTwo();
// ... code
}
- A TESTEventTrace2 it defines ClassTwo like this in the strategy
private ClassTwo cl2 = new ClassTwo();
- TESTEventTrace1:it works correctly and log
- TESTEventTrace2: the event runs once (see the value of Counter), but writes it to more times.
(Sorry, if i were too long, but it took 1 day to find not to write it to more times, but i still do not understand the reason.)
Thanks in advance,


Comment