public override object Clone() { ServiceInfo clone = (ServiceInfo)this.MemberwiseClone(); if (DataFrameInfos != null) { clone.DataFrameInfos = (DataFrameInfoList)DataFrameInfos.Clone(); } if (Environment != null) { clone.Environment = (Environment)Environment.Clone(); } if (LayerInfos != null) { clone.LayerInfos = (LayerInfoList)LayerInfos.Clone(); } if (LayoutInfo != null) { clone.LayoutInfo = (LayoutInfo)LayoutInfo.Clone(); } if (Properties != null) { clone.Properties = (Properties)Properties.Clone(); } return(clone); }
public object Clone() { DataFrameInfo clone = (DataFrameInfo)this.MemberwiseClone(); clone._layerInfos = (LayerInfoList)_layerInfos.Clone(); if (Properties != null) { clone.Properties = (Properties)Properties.Clone(); } return(clone); }