/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="fromScoreMetric">Indicates the score metric that is being used as the source to derive another score metric. For example, if this score table is using the raw score to derive a scaled score, then this will be the raw score metric (3478).</param> ///<param name="lowerCut">A LowerCut</param> ///<param name="upperCut">An UpperCut</param> ///<param name="derivedValue">This is the derived score value when the from-score is within the range specified. The unit used for this value should be represented in the units reported by the ToScoreMetric.</param> /// public ScoreValue(AssessmentReportingMethod fromScoreMetric, string lowerCut, string upperCut, DerivedValue derivedValue) : base(AssessmentDTD.SCOREVALUE) { this.SetFromScoreMetric(fromScoreMetric); this.LowerCut = lowerCut; this.UpperCut = upperCut; this.DerivedValue = derivedValue; }
///<summary>Adds the value of the <c><ScoreValue></c> element.</summary> /// <param name="FromScoreMetric">Indicates the score metric that is being used as the source to derive another score metric. For example, if this score table is using the raw score to derive a scaled score, then this will be the raw score metric (3478).</param> /// <param name="LowerCut">A LowerCut</param> /// <param name="UpperCut">An UpperCut</param> /// <param name="DerivedValue">This is the derived score value when the from-score is within the range specified. The unit used for this value should be represented in the units reported by the ToScoreMetric.</param> ///<remarks> /// <para>This form of <c>setScoreValue</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddScoreValue</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void AddScoreValue(AssessmentReportingMethod FromScoreMetric, string LowerCut, string UpperCut, DerivedValue DerivedValue) { AddChild(AssessmentDTD.SCOREVALUES_SCOREVALUE, new ScoreValue(FromScoreMetric, LowerCut, UpperCut, DerivedValue)); }