public override object Clone() { GetRasterInfo clone = (GetRasterInfo)this.MemberwiseClone(); if (CoordSys != null) { clone.CoordSys = (CoordSys)CoordSys.Clone(); } return(clone); }
public object Clone() { Layer clone = (Layer)this.MemberwiseClone(); if (CoordSys != null) { clone.CoordSys = (CoordSys)CoordSys.Clone(); } if (Dataset != null) { clone.Dataset = (Dataset)Dataset.Clone(); } if (Objects != null) { clone.Objects = new List <Object>(); foreach (Object obj in Objects) { clone.Objects.Add((Object)obj.Clone()); } } if (Query != null) { clone.Query = (Query)Query.Clone(); } if (Renderer != null) { clone.Renderer = (Renderer)Renderer.Clone(); } return(clone); }
public object Clone() { Object clone = (Object)this.MemberwiseClone(); if (CoordSys != null) { clone.CoordSys = (CoordSys)CoordSys.Clone(); } if (_shape != null) { clone._shape = (IGeometry)_shape.Clone(); } if (_northArrow != null) { clone._northArrow = (NorthArrow)_northArrow.Clone(); } if (_scaleBar != null) { clone._scaleBar = (ScaleBar)_scaleBar.Clone(); } if (_text != null) { clone._text = (Text)_text.Clone(); } if (Symbol != null) { clone.Symbol = (Symbol)Symbol.Clone(); } return(clone); }