internal bool RaiseConfigurationObjectLoadError(Exception ex, ref bool isDirty) { //Wire INotifyPropertyChanged members for any changes WireNotifyPropertyChangedMembersForChanges(GetType()); bool handled = OnConfigurationObjectLoadError(ex); if (handled) { return(handled); } EventHandler <ChoConfigurationObjectErrorEventArgs> configurationObjectLoadError = ConfigurationObjectLoadError; if (configurationObjectLoadError != null) { ChoConfigurationObjectErrorEventArgs configurationObjectErrorEventArgs = new ChoConfigurationObjectErrorEventArgs(ex); configurationObjectLoadError(this, configurationObjectErrorEventArgs); if (!isDirty) { isDirty = configurationObjectErrorEventArgs.Dirty; } return(configurationObjectErrorEventArgs.Handled); } return(false); }
internal bool RaiseConfigurationObjectLoadError(Exception ex, ref bool isDirty) { bool handled = OnConfigurationObjectLoadError(ex); if (handled) { return(handled); } EventHandler <ChoConfigurationObjectErrorEventArgs> configurationObjectLoadError = ConfigurationObjectLoadError; if (configurationObjectLoadError != null) { ChoConfigurationObjectErrorEventArgs configurationObjectErrorEventArgs = new ChoConfigurationObjectErrorEventArgs(ex); configurationObjectLoadError(this, configurationObjectErrorEventArgs); if (!isDirty) { isDirty = configurationObjectErrorEventArgs.Dirty; } return(configurationObjectErrorEventArgs.Handled); } return(false); }