public PredictionResult(string id, string sessionId, PredictionSources source, LocationTypes type) { Id = id; SessionId = sessionId; Source = source; Type = type; }
public Prediction(string id, string countryCode, PredictionSources source, LocationTypes type, string value) { Id = id; CountryCode = countryCode; Source = source; Type = type; Value = value; }
public Location(GeoPoint coordinates, string country, int distance, string locality, string name, PredictionSources source, LocationTypes type) { Coordinates = new Point(coordinates.Longitude, coordinates.Latitude); Country = country; Distance = distance; Locality = locality; Name = name; Source = source; Type = type; }
public Location(Location location, int distance, PredictionSources predictionSources) { Id = location.Id; Coordinates = location.Coordinates; Country = location.Country; Locality = location.Locality; Name = location.Name; Type = location.Type; Suppliers = location.Suppliers; Distance = distance; Source = predictionSources; }
public Location(string name, string locality, string country, GeoPoint coordinates, int distance, PredictionSources source, LocationTypes type, List <Suppliers> suppliers) { Name = name; Locality = locality; Country = country; Coordinates = coordinates; Distance = distance; Source = source; Type = type; Suppliers = suppliers ?? new List <Suppliers>(); }