Table of Contents

Class Option

Namespace
InSite.Domain.Banks
Assembly
Shift.Sdk.dll

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

ContentTitle

CutScore

The cut-score for this option.

public decimal? CutScore { get; set; }

Property Value

decimal?

HasPoints

Returns true if number of points for this option is greater than zero.

public bool HasPoints { get; }

Property Value

bool

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

string

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

int

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

decimal

Question

The question that contains the option.

public Question Question { get; set; }

Property Value

Question

Sequence

The ordinal position of this option in the question that contains it.

public int Sequence { get; }

Property Value

int

Standard

The standard associated with selecting this option when answer the question.

public Guid Standard { get; set; }

Property Value

Guid

Methods

Clone()

public Option Clone()

Returns

Option

Copy(Option)

public void Copy(Option source)

Parameters

source Option

Equals(Option)

public bool Equals(Option other)

Parameters

other Option

Returns

bool

ShouldSerializePoints()

public bool ShouldSerializePoints()

Returns

bool