Beispiel #1
0
 public Hotel(Coordinates coord, string name, int likes, int capacity, List<string> additionalInformation, string priceCategory, double? rating = null, string description = null, string workingTime = null)
     : base(coord, name, "hotel", likes, rating, description, workingTime)
 {
     this.Capacity = capacity;
     this.AdditionalInformation = additionalInformation;
     this.PriceCategory = priceCategory;
 }
Beispiel #2
0
 public Restaurant(Coordinates coord, string name,int likes,int seatingCapacity, List<string> additionalInformation, string priceCategory,double? rating = null, string description = null, string workingTime = null)
     : base(coord, name,"restaurant", likes, rating, description, workingTime)
 {
     this.SeatingCapacity = seatingCapacity;
     this.AdditionalInformation = additionalInformation;
     this.PriceCategory = priceCategory;
 }
Beispiel #3
0
 public Place(Coordinates coord, string name, string placeType, int likes, double? rating = null, string description = null, string workingTime = null)
 {
     this.CoordinatesPlace = coord;
     this.Name = name;
     this.PlaceType = placeType;
     this.Likes = likes;
     if (rating != null) this.Rating = rating.Value;
     this.Description = description;
     this.WorkingTime = workingTime;
 }
 public GovernmentBuilding(Coordinates coord, string name, int likes, double? rating = null, string description = null, string workingTime = null)
     : base(coord,name,"government building",likes,rating,description,workingTime)
 {
 }
Beispiel #5
0
 public Pharmacy(Coordinates coord, string name, int likes, List<string> additionalInformation, double? rating = null, string description = null, string workingTime = null)
     : base(coord, name, "pharmacy", likes, rating, description, workingTime)
 {
     this.AdditionalInformation = additionalInformation;
 }
Beispiel #6
0
 public Cinema(Coordinates coord, string name, int likes, int seatingCapacity, List<string> additionalInformation, double? rating = null, string description = null, string workingTime = null)
     : base(coord, name, "cinema", likes, rating, description, workingTime)
 {
     this.SeatingCapacity = seatingCapacity;
     this.AdditionalInformation = additionalInformation;
 }
 public Coordinates(Coordinates c)
     : this(c.latitude, c.longitude)
 {
 }