Exemplo n.º 1
0
 public static bool ContainsRights(bool isFull, OrderedHashSet <string> columnSet, OrderedHashSet <string> otherColumnSet, bool otherIsFull)
 {
     if (isFull)
     {
         return(true);
     }
     if (otherIsFull)
     {
         return(false);
     }
     return((otherColumnSet == null) || ((columnSet != null) && columnSet.ContainsAll(otherColumnSet)));
 }