Exemplo n.º 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="markingPeriod">A MarkingPeriod</param>
 ///<param name="markingPeriods">A MarkingPeriods</param>
 ///
 public Course( MarkingPeriod markingPeriod, MarkingPeriod markingPeriods )
     : base(EtranscriptsDTD.COURSE)
 {
     this.MarkingPeriod = markingPeriod;
     this.MarkingPeriods =  new MarkingPeriods( markingPeriods );
 }
Exemplo n.º 2
0
 ///<summary>Sets the value of the <c>&lt;MarkingPeriods&gt;</c> element.</summary>
 /// <param name="MarkingPeriod">A MarkingPeriod</param>
 ///<remarks>
 /// <para>This form of <c>setMarkingPeriods</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>MarkingPeriods</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetMarkingPeriods( MarkingPeriod MarkingPeriod )
 {
     RemoveChild( EtranscriptsDTD.COURSE_MARKINGPERIODS);
     AddChild( EtranscriptsDTD.COURSE_MARKINGPERIODS, new MarkingPeriods( MarkingPeriod ) );
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="markingPeriod">A MarkingPeriod</param>
 ///<param name="markingPeriods">A MarkingPeriods</param>
 ///
 public Course(MarkingPeriod markingPeriod, MarkingPeriod markingPeriods) : base(EtranscriptsDTD.COURSE)
 {
     this.MarkingPeriod  = markingPeriod;
     this.MarkingPeriods = new MarkingPeriods(markingPeriods);
 }
Exemplo n.º 4
0
 ///<summary>Adds the value of the <c>&lt;Course&gt;</c> element.</summary>
 /// <param name="MarkingPeriod">A MarkingPeriod</param>
 /// <param name="MarkingPeriods">A MarkingPeriods</param>
 ///<remarks>
 /// <para>This form of <c>setCourse</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddCourse</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddCourse(MarkingPeriod MarkingPeriod, MarkingPeriod MarkingPeriods)
 {
     AddChild(EtranscriptsDTD.COURSES_COURSE, new Course(MarkingPeriod, MarkingPeriods));
 }
Exemplo n.º 5
0
 ///<summary>Sets the value of the <c>&lt;MarkingPeriods&gt;</c> element.</summary>
 /// <param name="MarkingPeriod">A MarkingPeriod</param>
 ///<remarks>
 /// <para>This form of <c>setMarkingPeriods</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>MarkingPeriods</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetMarkingPeriods(MarkingPeriod MarkingPeriod)
 {
     RemoveChild(EtranscriptsDTD.COURSE_MARKINGPERIODS);
     AddChild(EtranscriptsDTD.COURSE_MARKINGPERIODS, new MarkingPeriods(MarkingPeriod));
 }