Esempio n. 1
0
        public override bool Equals(object obj)
        {
            DateLocation dateLocation = (DateLocation)obj;

            return((dateLocation != null) && (this.LocationName.Equals(dateLocation.LocationName)) && (this.date.Equals(dateLocation.date)));
        }
Esempio n. 2
0
 public void AddBookedDay(DateLocation dateLocation)
 {
     BookedDays.Add(dateLocation);
 }