예제 #1
0
 /// <summary>
 /// Checks whether geolocated countries are the same for both offers or not
 /// </summary>
 /// <param name="compare"></param>
 /// <returns></returns>
 public bool AreGeolocatedCountriesTheSame(GeolocationBase compare)
 {
     if (this.GeolocatedCC == compare.GeolocatedCC)
     {
         return(true);
     }
     return(false);
 }
예제 #2
0
 /// <summary>
 /// Copies all geolocation records between two GeolocationBase objects
 /// </summary>
 /// <param name="from"></param>
 public void CopyGeolocation(GeolocationBase from)
 {
     this.GeolocatedCC             = from.GeolocatedCC.Replace(':', ',');
     this.GeolocatedCities         = from.GeolocatedCities;
     this.GeolocatedGender         = from.GeolocatedGender;
     this.GeolocatedAgeMax         = from.GeolocatedAgeMax;
     this.GeolocatedAgeMin         = from.GeolocatedAgeMin;
     this.GeolocationProfileString = from.GeolocationProfileString;
 }