protected virtual void OnPermissionsModified(PermissionsModifiedEventArgs e)
 {
     if (_permissionsModifedHandler != null)
     {
         _permissionsModifedHandler(this, e);
     }
 }
예제 #2
0
        protected virtual void RaisePermissionsModified(PermissionsModifiedEventArgs e)
        {
            LogStart();
            var handler = PermissionsModified;

            if (handler != null)
            {
                handler(this, e);
            }
            LogEnd();
        }
예제 #3
0
 protected virtual void OnPermissionsModified(PermissionsModifiedEventArgs e)
 {
     _permissionsModifedHandler?.Invoke(this, e);
 }
예제 #4
0
 protected virtual void RaisePermissionsModified(PermissionsModifiedEventArgs e)
 {
     LogStart();
     PermissionsModified?.Invoke(this, e);
     LogEnd();
 }
예제 #5
0
 protected virtual void OnPermissionsModified(PermissionsModifiedEventArgs e)
 {
     if(_permissionsModifedHandler != null)
     {
         _permissionsModifedHandler(this, e);
     }
 }
 protected override void OnPermissionsModified(PermissionsModifiedEventArgs e)
 {
     RaisePermissionsModifiedHitCount++;
     base.OnPermissionsModified(e);
 }
 protected virtual void RaisePermissionsModified(PermissionsModifiedEventArgs e)
 {
     LogStart();
     var handler = PermissionsModified;
     if(handler != null)
     {
         handler(this, e);
     }
     LogEnd();
 }