예제 #1
0
 private void OnRemoved(Authorization.Role left, Authorization.Principal right)
 {
     using (log.Activity(m => m($"Execute {nameof(OnRemoved)} for {nameof(Authorization.Role)}[{left.Id}] and {nameof(Authorization.Principal)}[{right.Id}]")))
     {
         OnRemoved(right, left);
     }
 }
예제 #2
0
 private void OnAdded(Authorization.Principal left, Authorization.Role right)
 {
     using (log.Activity(m => m($"Execute {nameof(OnAdded)} for {nameof(Authorization.Principal)}[{left.Id}] and {nameof(Authorization.Role)}[{right.Id}]")))
     {
         OnPrincipalRolesChanged(left.Name);
     }
 }