Ejemplo n.º 1
0
        public object Clone()
        {
            GpsPersonMetadata clone = new GpsPersonMetadata();
            if (name != null)
                clone.name = (string) name;
            if (email != null)
                clone.email = new Uri((string) email.ToString());
            if (link != null)
                clone.link = (Link) link.Clone();

            return clone;
        }
Ejemplo n.º 2
0
        public object Clone()
        {
            GpsPersonMetadata clone = new GpsPersonMetadata();

            if (name != null)
            {
                clone.name = (string)name;
            }
            if (email != null)
            {
                clone.email = new Uri((string)email.ToString());
            }
            if (link != null)
            {
                clone.link = (Link)link.Clone();
            }

            return(clone);
        }