Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added "Disable event subscriptions of child values for ModelBase"

...

Therefore, it is important to disable any call to LogManager.AddDebugListener when releasing an application or while performance testing.

Disable event subscriptions of child values for ModelBase

To be able to (re)validate when a child object changes, the ModelBase subscribes to all change notifications (of all childs) by default. This can be disabled by using the following code:

Code Block
ModelBase.DefaultDisableEventSubscriptionsOfChildValuesValue = false;


Disabling validation during activities where validation is not required

...