/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="day">The Day of week that Meal is required</param> ///<param name="mealTime">Which meal of the day is required</param> ///<param name="mealType">What type of meal is required</param> /// public Meal( Day day, MealTime mealTime, MealType mealType ) : base(CateringDTD.MEAL) { this.SetDay( day ); this.SetMealTime( mealTime ); this.SetMealType( mealType ); }
/// <summary> /// Sets the value of the <c><Day></c> element. /// </summary> /// <param name="val">A Day object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "The Day of week that Meal is required"</para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetDay( Day val ) { SetField( CateringDTD.MEAL_DAY, val ); }