Ejemplo n.º 1
0
 private static void Set(this LocationReference locationReference, PostalSuburb postalSuburb)
 {
     locationReference.Set(
         null,
         postalSuburb.Clone(),
         postalSuburb.CountrySubdivision.Clone(),
         postalSuburb.PostalCode.Locality.Clone());
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 3
0
 private static void Set(this LocationReference locationReference, PostalCode postalCode)
 {
     locationReference.Set(
         null,
         postalCode.Clone(),
         postalCode.GetCountrySubdivision().Clone(),
         postalCode.Locality.Clone());
 }
Ejemplo n.º 4
0
 private static void Set(this LocationReference locationReference, Locality locality)
 {
     locationReference.Set(
         null,
         locality.Clone(),
         locality.GetCountrySubdivision().Clone(),
         locality.Clone());
 }
Ejemplo n.º 5
0
 private static void Set(this LocationReference locationReference, Region region)
 {
     locationReference.Set(
         null,
         region.Clone(),
         region.GetCountrySubdivision().Clone(),
         null);
 }
Ejemplo n.º 6
0
 private static void Set(this LocationReference locationReference, CountrySubdivision countrySubdivision)
 {
     locationReference.Set(
         null,
         countrySubdivision.Clone(),
         countrySubdivision.Clone(),
         null);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }