Пример #1
0
 private static void Set(this LocationReference locationReference, PostalSuburb postalSuburb)
 {
     locationReference.Set(
         null,
         postalSuburb.Clone(),
         postalSuburb.CountrySubdivision.Clone(),
         postalSuburb.PostalCode.Locality.Clone());
 }
Пример #2
0
 public static void Set(this LocationReference locationReference, string unstructuredLocation, CountrySubdivision countrySubdivision, PostalCode postalCode)
 {
     locationReference.Set(
         unstructuredLocation,
         postalCode.Clone(),
         countrySubdivision.Clone(),
         postalCode.Locality.Clone());
 }
Пример #3
0
 private static void Set(this LocationReference locationReference, PostalCode postalCode)
 {
     locationReference.Set(
         null,
         postalCode.Clone(),
         postalCode.GetCountrySubdivision().Clone(),
         postalCode.Locality.Clone());
 }
Пример #4
0
 private static void Set(this LocationReference locationReference, Locality locality)
 {
     locationReference.Set(
         null,
         locality.Clone(),
         locality.GetCountrySubdivision().Clone(),
         locality.Clone());
 }
Пример #5
0
 private static void Set(this LocationReference locationReference, Region region)
 {
     locationReference.Set(
         null,
         region.Clone(),
         region.GetCountrySubdivision().Clone(),
         null);
 }
Пример #6
0
 private static void Set(this LocationReference locationReference, CountrySubdivision countrySubdivision)
 {
     locationReference.Set(
         null,
         countrySubdivision.Clone(),
         countrySubdivision.Clone(),
         null);
 }
Пример #7
0
 public static void Set(this LocationReference locationReference, string unstructuredLocation, CountrySubdivision countrySubdivision)
 {
     locationReference.Set(
         unstructuredLocation == string.Empty ? null : unstructuredLocation,
         countrySubdivision.Clone(),
         countrySubdivision.Clone(),
         null);
 }
Пример #8
0
 public static void Set(this LocationReference locationReference, Country country, string unstructuredLocation)
 {
     locationReference.Set(
         unstructuredLocation,
         GetCountryFinder(country.Id).GetCountrySubdivision(null).Clone(),
         GetCountryFinder(country.Id).GetCountrySubdivision(null).Clone(),
         null);
 }