示例#1
0
        public override object Clone()
        {
            GetFeatures clone = (GetFeatures)this.MemberwiseClone();

            if (Environment != null)
            {
                clone.Environment = (Environment)Environment.Clone();
            }

            if (Layer != null)
            {
                clone.Layer = (Layer)Layer.Clone();
            }

            if (Query != null)
            {
                clone.Query = (Query)Query.Clone();
            }

            return(clone);
        }
示例#2
0
        public override object Clone()
        {
            GetGeocode clone = (GetGeocode)this.MemberwiseClone();

            if (Address != null)
            {
                clone.Address = (Address)Address.Clone();
            }

            if (Layer != null)
            {
                clone.Layer = (Layer)Layer.Clone();
            }

            if (FeatureCoordSys != null)
            {
                clone.FeatureCoordSys = (FeatureCoordSys)FeatureCoordSys.Clone();
            }

            return(clone);
        }