internal bool CanChange(ChangeStatus changeAction, Guid pluginId, ConfigUserAction action) { if (Changing != null) { LiveUserConfigurationChangingEventArgs eCancel = new LiveUserConfigurationChangingEventArgs(changeAction, pluginId, action); Changing(this, eCancel); return(!eCancel.Cancel); } return(true); }
internal bool CanChange( ChangeStatus changeAction, Guid pluginId, ConfigUserAction action ) { if( Changing != null ) { LiveUserConfigurationChangingEventArgs eCancel = new LiveUserConfigurationChangingEventArgs( changeAction, pluginId, action ); Changing( this, eCancel ); return !eCancel.Cancel; } return true; }