Exemplo n.º 1
0
 public ACLBaseEntry(int op, DataOperationPermission perm)
 {
     _operation = op;
     _permission = perm;
 }
Exemplo n.º 2
0
 public static IList<IACLEntry> GetACLEntries(IList<Account> accounts, int op, DataOperationPermission perm)
 {
     List<IACLEntry> result = new List<IACLEntry>();
     foreach (Account account in accounts)
     {
         result.Add(new ACLAccountId(account.Id, op, perm));
     }
     return result;
 }
Exemplo n.º 3
0
 public ACLBaseEntry(DataOperation op, DataOperationPermission perm)
     : this((int) op, perm)
 {
 }
Exemplo n.º 4
0
 public ACLAccount(Account value, int op, DataOperationPermission perm)
     : base(op, perm)
 {
     mAccount = value;
 }
Exemplo n.º 5
0
 public ACLAccountId(int value, int op, DataOperationPermission perm)
     : base(op, perm)
 {
     _accountId = value;
 }
Exemplo n.º 6
0
 public ACLBaseEntry(int op, DataOperationPermission perm)
 {
     _operation  = op;
     _permission = perm;
 }
Exemplo n.º 7
0
 public ACLBaseEntry(DataOperation op, DataOperationPermission perm)
     : this((int)op, perm)
 {
 }
Exemplo n.º 8
0
        public static IList <IACLEntry> GetACLEntries(IList <Account> accounts, int op, DataOperationPermission perm)
        {
            List <IACLEntry> result = new List <IACLEntry>();

            foreach (Account account in accounts)
            {
                result.Add(new ACLAccountId(account.Id, op, perm));
            }
            return(result);
        }
Exemplo n.º 9
0
 public ACLAccountId(int value, int op, DataOperationPermission perm)
     : base(op, perm)
 {
     _accountId = value;
 }
Exemplo n.º 10
0
 public ACLAccount(Account value, int op, DataOperationPermission perm)
     : base(op, perm)
 {
     mAccount = value;
 }