actually while testing
I noticed a strange behaviour concerning the Properties of a strategy in a Disable/enable cylce of a strategy.
Lets assume I have a property
public string STRING1 {
...
}
when going through a Enable/Disable cycle, this should not change.
OK, above property will do so.
But if I apply the attribute
[Browsable(false)]
public string STRING1 {
}
then the property is not persistent and reset to zero each time the strategy is enabled.
Please explain the idea behind this (or is it a simple bug?)
Will the attribute [XmlIgnore] behave as expected?
Attached a sample strategy. Uncomment //[Browsabe ] to produce the - in my view wrong behaviour.
regards
andreas
Comment