Esempio n. 1
0
        public object Clone()
        {
            GpsMetadata clone = new GpsMetadata();

            if (name != null)
            {
                clone.name = (string)name.Clone();
            }
            if (description != null)
            {
                clone.description = (string)description.Clone();
            }

            if (author != null)
            {
                clone.author = (GpsPersonMetadata)author.Clone();
            }
            if (copyright != null)
            {
                clone.copyright = (GpsCopyrightMetadata)copyright.Clone();
            }
            if (link != null)
            {
                clone.link = (Link)link.Clone();
            }
            clone.time = time;
            if (keywords != null)
            {
                clone.keywords = (string)keywords.Clone();
            }
            if (bounds != null)
            {
                clone.bounds = (Bounds3)bounds.Clone();
            }

            return(clone);
        }
Esempio n. 2
0
        public object Clone()
        {
            GpsMetadata clone = new GpsMetadata();

            if (name != null)
                clone.name = (string)name.Clone();
            if (description != null)
                clone.description = (string)description.Clone ();

            if (author != null)
                clone.author = (GpsPersonMetadata)author.Clone ();
            if (copyright != null)
                clone.copyright = (GpsCopyrightMetadata)copyright.Clone ();
            if (link != null)
                clone.link = (Link)link.Clone ();
            clone.time = time;
            if (keywords != null)
                clone.keywords = (string)keywords.Clone ();
            if (bounds != null)
                clone.bounds = (Bounds3)bounds.Clone ();

            return clone;
        }