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();
 }