Table of Contents

Class Specification

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

A specification represents a set of rules to determine the content and behaviour of an exam form.

public class Specification : IHasAssetNumber
Inheritance
Specification
Implements
Inherited Members
Extension Methods

Constructors

Specification()

Constructs an empty specification.

public Specification()

Properties

Asset

Every specification is assigned a unique asset number in the organization's inventory.

public int Asset { get; set; }

Property Value

int

Bank

The bank that contains the specification.

public BankState Bank { get; set; }

Property Value

BankState

Calculation

The rules for calculation and display of exam submission scores.

public ScoreCalculation Calculation { get; set; }

Property Value

ScoreCalculation

Consequence

Indicates if the exam form is high-stakes or low-stakes.

public ConsequenceType Consequence { get; set; }

Property Value

ConsequenceType

Content

Specifications need support for multilingual titles, summaries, materials, etc.

public ContentExamSpecification Content { get; set; }

Property Value

ContentExamSpecification

Criteria

The sieves contained by this specification.

public List<Criterion> Criteria { get; set; }

Property Value

List<Criterion>

FormLimit

The maximum number of forms allowed in this specification.

public int FormLimit { get; set; }

Property Value

int

Forms

The forms controlled by this specification.

public List<Form> Forms { get; set; }

Property Value

List<Form>

Identifier

Uniquely identifies the specification.

public Guid Identifier { get; set; }

Property Value

Guid

IsTabTimeLimitAllowed

Indicates if the tab time limit parameter can be applied

public bool IsTabTimeLimitAllowed { get; }

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

Name

The internal name used to uniquely identify this specification for filing purposes.

public string Name { get; set; }

Property Value

string

QuestionLimit

The maximum number of questions allowed on the exam form.

public int QuestionLimit { get; set; }

Property Value

int

SectionsAsTabsEnabled

If SectionsAsTabsEnabled is true then each Section will displayed in a separate tab at the top of the form.

public bool SectionsAsTabsEnabled { get; set; }

Property Value

bool

Sequence

The ordinal position of this specification in the bank that contains it.

public int Sequence { get; }

Property Value

int

SingleQuestionPerTabEnabled

If SingleQuestionPerTabEnabled is true, TabNavigationEnabled feature will be extended by displaying only one question at a time on the current tab.

public bool SingleQuestionPerTabEnabled { get; set; }

Property Value

bool

TabNavigationEnabled

If TabNavigationEnabled is true and the sections are displayed in tabs then the user will not be able to move between tabs by clicking on them but only by clicking the Next button at the bottom of the form.

public bool TabNavigationEnabled { get; set; }

Property Value

bool

TabTimeLimit

Defines the behavior of time management during an exam when tabs are enabled

public SpecificationTabTimeLimit TabTimeLimit { get; set; }

Property Value

SpecificationTabTimeLimit

Type

Specifications are organized into types. Certain functions apply to one type and not to another type.

public SpecificationType Type { get; set; }

Property Value

SpecificationType

Methods

Clone()

public Specification Clone()

Returns

Specification

EnumerateAllForms()

public IEnumerable<Form> EnumerateAllForms()

Returns

IEnumerable<Form>

FindForm(Guid)

public Form FindForm(Guid id)

Parameters

id Guid

Returns

Form

ToString()

public override string ToString()

Returns

string