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); }
public void Remove(SHCondition cond) { dataList.Remove(cond); }
public void Add(SHCondition newCond) { dataList.Add(newCond); }