/// <summary>Adds a new <c><Name></c> child element.</summary> /// <param name="val">A NameEvaluation object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "This is the name of a part that could receive a score."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void AddName(NameEvaluation val) { AddChild(StudentDTD.EVALUATIONPART_NAME, val); }
///<summary>Adds the value of the <c><EvaluationPart></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)); }
/// <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; }