public TruckPushpinInfo(TruckEvent truckEvent, int? preference) { this.truckName = truckEvent.Name; this.location = truckEvent.Neighborhood; this.website = truckEvent.Url; this.latitude = Convert.ToDouble(truckEvent.Coordinates.latitude); this.longitude = Convert.ToDouble(truckEvent.Coordinates.longitude); this.meal = truckEvent.Time; this.preference = preference; }
public TruckPushpinInfo(TruckEvent truckEvent, int?preference) { this.truckName = truckEvent.Name; this.location = truckEvent.Neighborhood; this.website = truckEvent.Url; this.latitude = Convert.ToDouble(truckEvent.Coordinates.latitude); this.longitude = Convert.ToDouble(truckEvent.Coordinates.longitude); this.meal = truckEvent.Time; this.preference = preference; }