示例#1
0
 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();
 }
示例#2
0
 public PartialMatch(bool isSynonym, string key, NamedLocation namedLocation)
 {
     _isSynonym     = isSynonym;
     _key           = key;
     _namedLocation = namedLocation.Clone();
 }