internal void Fill(HashSet <PermissionAssignment> perms)
 {
     foreach (Guid cur in denies)
     {
         perms.Add(new PermissionAssignment(PermissionMemorySet.Get(cur), GrantType.Deny));
     }
     foreach (Guid cur in grants)
     {
         perms.Add(new PermissionAssignment(PermissionMemorySet.Get(cur), GrantType.Grant));
     }
 }
Esempio n. 2
0
 public Permission Get(string name)
 {
     return(PermissionMemorySet.Get(name));
 }
Esempio n. 3
0
 public Permission Get(Guid id)
 {
     return(PermissionMemorySet.Get(id));
 }