/// <summary> /// Returns a clone of this object. /// </summary> /// <returns></returns> public object Clone() { RoutePointEntrySideStreet clone = new RoutePointEntrySideStreet(); clone.Latitude = this.Latitude; clone.Longitude = this.Longitude; if (this.Tags != null) { clone.Tags = new RouteTags[this.Tags.Length]; for (int idx = 0; idx < this.Tags.Length; idx++) { clone.Tags[idx] = this.Tags[idx].Clone() as RouteTags; } } clone.WayName = this.WayName; if (this.WayNames != null) { clone.WayNames = new RouteTags[this.WayNames.Length]; for (int idx = 0; idx < this.WayNames.Length; idx++) { clone.WayNames[idx] = this.WayNames[idx].Clone() as RouteTags; } } return(clone); }
/// <summary> /// Returns a clone of this object. /// </summary> /// <returns></returns> public object Clone() { RoutePointEntrySideStreet clone = new RoutePointEntrySideStreet(); clone.Latitude = this.Latitude; clone.Longitude = this.Longitude; if (this.Tags != null) { clone.Tags = new RouteTags[this.Tags.Length]; for (int idx = 0; idx < this.Tags.Length; idx++) { clone.Tags[idx] = this.Tags[idx].Clone() as RouteTags; } } clone.WayName = this.WayName; if (this.WayNames != null) { clone.WayNames = new RouteTags[this.WayNames.Length]; for (int idx = 0; idx < this.WayNames.Length; idx++) { clone.WayNames[idx] = this.WayNames[idx].Clone() as RouteTags; } } return clone; }