public override Location Clone() { LocationGroup groups = new LocationGroup(Title, LocationCode); foreach (Location location in childLocations) groups.ChildLocations.Add(location.Clone()); return groups; }
public override Location Clone() { LocationGroup groups = new LocationGroup(Title, LocationCode); foreach (Location location in childLocations) { groups.ChildLocations.Add(location.Clone()); } return(groups); }