Exemple #1
0
 /// <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 );
 }
Exemple #2
0
 /// <summary>
 /// Sets the value of the <c>&lt;Day&gt;</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 );
 }