My problem is that after a recompile, the assembly changes so this simple check is going to be false:
if (myObject is MyClass)....
Why?
Because after recompile, the assembly changes, so AssemblyQualifiedName is different.
NinjaTrader.Indicator.MyIndicator+MyClass, 95b2eab7f5ce4ef4a45668b8c386bfdd, Version=7.0.1000.31, Culture=neutral, PublicKeyToken=null
NinjaTrader.Indicator.MyIndicator+MyClass, 20377f1f822648c8ab1daa5abb59e22b, Version=7.0.1000.31, Culture=neutral, PublicKeyToken=null
maybe someone can point me to the right direction...
Comment