예제 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="classification">The classification Of Outcome</param>
 ///<param name="date">Date and time Action has or Will take place</param>
 ///
 public Action( Classification classification, DateTime? date )
     : base(LearnerDTD.ACTION)
 {
     this.SetClassification( classification );
     this.Date = date;
 }
예제 #2
0
 /// <summary>
 /// Sets the value of the <c>&lt;Classification&gt;</c> element.
 /// </summary>
 /// <param name="val">A Classification object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "The classification Of Outcome"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetClassification( Classification val )
 {
     SetField( LearnerDTD.ACTION_CLASSIFICATION, val );
 }
예제 #3
0

        
예제 #4
0
 ///<summary>Adds the value of the <c>&lt;Action&gt;</c> element.</summary>
 /// <param name="Classification">The classification Of Outcome</param>
 /// <param name="Date">Date and time Action has or Will take place</param>
 ///<remarks>
 /// <para>This form of <c>setAction</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddAction</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void AddAction(Classification Classification, DateTime?Date)
 {
     AddChild(LearnerDTD.ACTIONS_ACTION, new Action(Classification, Date));
 }
예제 #5
0