Class Criterion
A criterion represents a set of rules for selecting and filtering the question items from one or more question sets. Each section on an exam form uses a criterion to determine the questions it contains and displays.
public class Criterion
- Inheritance
-
Criterion
- Inherited Members
- Extension Methods
Constructors
Criterion()
Constructs an empty criterion.
public Criterion()
Properties
FilterType
A criterion is either a Tag Selector (basic filter) or a Pivot Table (advanced filter).
public CriterionFilterType FilterType { get; set; }
Property Value
Identifier
Uniquely identifies the criterion.
public Guid Identifier { get; set; }
Property Value
Letter
Returns an alphabetic equivalent for the integer sequence (e.g. A = 1, B = 2, C = 3).
public string Letter { get; }
Property Value
Name
The internal name used to uniquely identify the criterion for filing purposes.
public string Name { get; set; }
Property Value
PivotFilter
The new pivot-table filter.
public PivotTable PivotFilter { get; set; }
Property Value
QuestionCount
The number of available questions in all the sets from which this criterion selects and filters.
public int QuestionCount { get; }
Property Value
QuestionLimit
The maximum number of questions allowed on an exam form from the question set to which this criterion applies.
public int QuestionLimit { get; set; }
Property Value
Sections
The list of sections controlled by this criterion.
public List<Section> Sections { get; set; }
Property Value
Sequence
The ordinal position of this criterion in the specification that contains it.
public int Sequence { get; }
Property Value
SetIdentifiers
Uniquely identifies the sets being referenced.
public List<Guid> SetIdentifiers { get; set; }
Property Value
SetWeight
The desired weighting for the question set to which this criterion applies, within the overall specification. The sum of all SetWeight values for the criteria in a specification must equal 1 (i.e. 100 percent).
public decimal SetWeight { get; set; }
Property Value
Sets
The 'hydrated' set objects. This is NOT serialized because it already exists as an object in the bank.
public List<Set> Sets { get; set; }
Property Value
Specification
The specification that contains this criterion.
public Specification Specification { get; set; }
Property Value
TagFilter
The old original ExamForm.DisplayFilter.
public string TagFilter { get; set; }
Property Value
Title
public string Title { get; }
Property Value
Methods
Clone()
public Criterion Clone()
Returns
ShouldSerializePivotFilter()
public bool ShouldSerializePivotFilter()
Returns
ToString()
public override string ToString()
Returns
UpdateFilterType()
public void UpdateFilterType()