protected ChangeDependencyObject() { if (_log.IsDebugEnabled) { _log.DebugFormat("Starting {0}", MethodBase.GetCurrentMethod().ToString()); } //Application.Current.Dispatcher.Invoke(new Action(SetValidationObject)); ValidationCollection = new ValidationObjectCollection(); if (_log.IsDebugEnabled) { _log.DebugFormat("Ending {0}", MethodBase.GetCurrentMethod().ToString()); } }
void SetValidationObject() { ValidationCollection = new ValidationObjectCollection(); }