예제 #1
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="other"></param>
 protected Animal(Animal other)
 {
     Id           = other.Id;
     Name         = other.Name;
     Age          = other.Age;
     Gender       = other.Gender;
     FoodSchedule = other.FoodSchedule;
 }
예제 #2
0
 public FoodController(IFoodSchedule _ifoodschedule, IMenu _imenu)
 {
     imenu         = _imenu;
     ifoodschedule = _ifoodschedule;
 }