public override object Clone() { var rightExpr = (RightExpression == null ? null : (IExpression)RightExpression.Clone()); var clone = new Condition((IExpression)LeftExpression.Clone(), Operator, rightExpr) { _notFlag = _notFlag }; for (var i = 0; i < _linkedConditions.Count; ++i) { clone._linkedConditionAndOrs.Add(_linkedConditionAndOrs[i]); clone._linkedConditions.Add((Condition)_linkedConditions[i].Clone()); } return(clone); }
public override Expression Clone() { return(new SpatialAnalysisGeometricExpression((GeometryExpression)LeftExpression.Clone(), SpatialAnalysisOperator, (GeometryExpression)RightExpression.Clone())); }
public override Expression Clone() { return(new SpatialAnalysisBufferExpression((GeometryExpression)LeftExpression.Clone(), (LiteralExpression <double>)RightExpression.Clone())); }
public override Expression Clone() { return(new SpatialAnalysisDistanceExpression((GeometryExpression)LeftExpression.Clone(), (GeometryExpression)RightExpression.Clone())); }