コード例 #1
0
        /// <summary>
        /// Constructor for filling the list with <paramref name="items"/>
        /// </summary>
        public FeedingSchedule(params string[] items)
        {
            FoodDescriptions = new ListManager <string>();

            for (int i = 0; i < items.Length; i++)
            {
                AddFoodScheduleItem(items[i]);
            }
        }
コード例 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public FeedingSchedule()
 {
     FoodDescriptions = new ListManager <string>();
 }
コード例 #3
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 public FeedingSchedule(ListManager <string> foodList)
 {
     FoodDescriptions = foodList;
 }
コード例 #4
0
 public FoodItem()
 {
     Ingredients = new ListManager <string>();
 }