Esempio n. 1
0
 public bool Equals(DayRating rating)
 {
     if (rating == null)
     {
         return(false);
     }
     return(Value == rating.Value);
 }
Esempio n. 2
0
 public void ChangeRating(int newRating)
 {
     this.Rating = new DayRating(newRating);
 }