Пример #1
0
 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);
 }
Пример #2
0
 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;
 }