Exemplo n.º 1
0
    public RecycleList <T> OperList(HSetOper oper, IEnumerable <T> collection)
    {
        switch (oper)
        {
        case HSetOper.Union:
        {
            return(this.UnionList(collection));
        }

        case HSetOper.Intersect:
        {
            return(this.IntersectList(collection));
        }

        case HSetOper.Except:
        {
            return(this.ExceptList(collection));
        }

        case HSetOper.SymmetricExcept:
        {
            return(this.SymmetricExceptList(collection));
        }
        }
        throw new ArgumentException(string.Concat("Don't know what to do with ", oper), "oper");
    }
Exemplo n.º 2
0
 public RecycleList <T> OperList(HSetOper oper, IEnumerable <T> collection)
 {
     return(this.hashSet.OperList(oper, collection));
 }
Exemplo n.º 3
0
 public RecycleList <T> OperList(HSetOper oper, ODBList <T> list)
 {
     return(this.hashSet.OperList(oper, list.hashSet));
 }