Exemple #1
0
        /// <summary>
        /// Creates a new object that is a copy of the current instance.
        /// </summary>
        /// <returns>
        /// A new object that is a copy of this instance.
        /// </returns>
        public virtual object Clone()
        {
            var clone = (GeoLocation)MemberwiseClone();

            clone.timeZone     = (ITimeZone)TimeZone.Clone();
            clone.locationName = LocationName;
            return(clone);
        }