Esempio n. 1
0
        public object Clone()
        {
            SHCondition clone = new SHCondition();

            clone._type         = this._type;
            clone.typeSpecified = this.typeSpecified;

            clone.param1  = this.param1;
            clone._param2 = this._param2;

            if (this.and != null)
            {
                clone.and = (SHAnd)this.and.Clone();
            }
            else
            {
                clone.and = null;
            }

            if (this.or != null)
            {
                clone.or = (SHOr)this.or.Clone();
            }
            else
            {
                clone.or = null;
            }

            return(clone);
        }
Esempio n. 2
0
 public void Remove(SHCondition cond)
 {
     dataList.Remove(cond);
 }
Esempio n. 3
0
 public void Add(SHCondition newCond)
 {
     dataList.Add(newCond);
 }