public void CopyTo(LocationReference location) { location.UnstructuredLocation = UnstructuredLocation; location.NamedLocation = NamedLocation == null ? null : NamedLocation.Clone(); location.CountrySubdivision = CountrySubdivision == null ? null : CountrySubdivision.Clone(); location.Locality = Locality == null ? null : Locality.Clone(); }
public PartialMatch(bool isSynonym, string key, NamedLocation namedLocation) { _isSynonym = isSynonym; _key = key; _namedLocation = namedLocation.Clone(); }