Class Option
Represents an answer option on an exam question. In the special case of a Compsition question, it represents an item in the question's scoring rubric.
public class Option : IQuestionAnswer
- Inheritance
-
Option
- Implements
- Inherited Members
- Extension Methods
Constructors
Option()
Constructs an empty option.
public Option()
Properties
Content
Options need support for multilingual titles.
public ContentTitle Content { get; set; }
Property Value
CutScore
The cut-score for this option.
public decimal? CutScore { get; set; }
Property Value
HasPoints
Returns true if number of points for this option is greater than zero.
public bool HasPoints { get; }
Property Value
IsTrue
Returns true if the option represents a true (or correct) statement; returns false if the option represents a false (or incorrect) statement; returns null if the option does not represent a Boolean statement. If the option is true then points are awarded for selecting it. If the option is false then points are awarded for not selecting it.
public bool? IsTrue { get; set; }
Property Value
- bool?
Letter
Returns an alphabetic equivalent for the integer sequence (e.g. A = 1, B = 2, C = 3).
public string Letter { get; }
Property Value
Number
The unique number assigned to this option within the bank that contains it. No two options in a given bank are allowed to have the same option number.
public int Number { get; set; }
Property Value
Points
The number of points awarded for selecting this option on an exam question. In the special case of a Composed question, the maximum number of points awarded for this item in the scoring rubric.
public decimal Points { get; set; }
Property Value
Question
The question that contains the option.
public Question Question { get; set; }
Property Value
Sequence
The ordinal position of this option in the question that contains it.
public int Sequence { get; }
Property Value
Standard
The standard associated with selecting this option when answer the question.
public Guid Standard { get; set; }
Property Value
Methods
Clone()
public Option Clone()
Returns
Copy(Option)
public void Copy(Option source)
Parameters
sourceOption
Equals(Option)
public bool Equals(Option other)
Parameters
otherOption
Returns
ShouldSerializePoints()
public bool ShouldSerializePoints()