Ejemplo n.º 1
0
 ///<summary>Adds the value of the <c>&lt;EvaluationPart&gt;</c> element.</summary>
 /// <param name="Name">This is the name of a part that could receive a score.</param>
 /// <param name="Score">This is a subscore that is part of the evaluation.</param>
 /// <param name="Scale">This is the scale for the Subscore that is part of the evaluation.</param>
 ///<remarks>
 /// <para>This form of <c>setEvaluationPart</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddEvaluationPart</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void AddEvaluationPart(NameEvaluation Name, ScoreEvaluation Score, ScaleEvaluation Scale)
 {
     AddChild(StudentDTD.EVALUATIONPARTS_EVALUATIONPART, new EvaluationPart(Name, Score, Scale));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="name">This is the name of a part that could receive a score.</param>
 ///<param name="score">This is a subscore that is part of the evaluation.</param>
 ///<param name="scale">This is the scale for the Subscore that is part of the evaluation.</param>
 ///
 public EvaluationPart(NameEvaluation name, ScoreEvaluation score, ScaleEvaluation scale) : base(StudentDTD.EVALUATIONPART)
 {
     this.AddName(name);
     this.Score = score;
     this.Scale = scale;
 }