public Operator(Operator another) { if (another.Relation != null) { relation = (string)another.Relation.Clone(); } }
public override bool Equals(object o) { if (o == null || GetType() != o.GetType()) { return false; } Operator other = new Operator((Operator)o); if (this.Relation != null) { if (!this.Relation.Equals(other.Relation)) { return false; } } return true; }