コード例 #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;
 }