Class BankState
A question bank is a planned library of question items designed to fulfill specific predetermined purposes.
For example, a bank can contain hundreds of questions for each chapter in a published resource. This provides an opportunity for teachers to select from a wide variety of questions when developing an exam, developing more than one exam for a specific assessment strategy and rotate them between terms, or to draw a random set of questions into an exam.
The question items in a bank are grouped int question sets. This makes it easier for instructors and administrators to work with large banks, and it allows for the creation of exam forms containing questions that naturally group together - and for which different display rules might need to apply.
For example, consider an exam form that contain 20 questions, where the first 10 questions relate to topic A and the second 10 questions relate to topic B. An instructor might want students to see all A questions before any B questions, and also want to randomize the question items in each of the two groups.
public class BankState : AggregateState, IHasAssetNumber
- Inheritance
-
BankState
- Implements
- Inherited Members
- Extension Methods
Constructors
BankState()
Constructs an empty bank.
public BankState()
Properties
Asset
Every bank is assigned a unique asset number in the organization's inventory.
public int Asset { get; set; }
Property Value
Attachments
A bank can have any number of attached files. Each file is stored in the file system with a physical file name that looks like this - \Data\Files\Core\UploadIdentifier.extension - and information about the uploaded file is stored in the database table Upload. The convention that should be followed for the Upload.NavigateUrl property (used to view/download the file) is this: /Assessments/{Bank.Asset}/Attachments/{Upload.Name}
public List<Attachment> Attachments { get; set; }
Property Value
Comments
A bank can have any number of comments. Comments might be posted by instructors authoring questions, subject-matter-experts reviewing and revising questions, students submitting exams, etc.
public List<Comment> Comments { get; set; }
Property Value
Content
Banks need support for multilingual titles, summaries, materials, etc.
public ContentExamBank Content { get; set; }
Property Value
Department
public Guid Department { get; set; }
Property Value
Edition
What is the edition number on this bank?
public Edition Edition { get; set; }
Property Value
Identifier
Uniquely identifies the bank itself.
public Guid Identifier { get; set; }
Property Value
IsActive
Bank Status Activity.
public bool IsActive { get; set; }
Property Value
IsAdvanced
public bool IsAdvanced { get; }
Property Value
IsLocked
Changes to questions contained in a locked bank are not permitted.
public bool IsLocked { get; set; }
Property Value
Level
The level (type and number) to which the questions in the bank apply.
public Level Level { get; set; }
Property Value
Name
The internal name used to uniquely identify this bank for filing purposes.
public string Name { get; set; }
Property Value
Sets
The question items in a bank are grouped into logical sets.
public List<Set> Sets { get; set; }
Property Value
Specifications
A bank can be used by any number of specifications for generating any number of exam forms.
public List<Specification> Specifications { get; set; }
Property Value
Standard
Uniquely identifies the standard (e.g. competency framework) evaluated by the questions in the bank. If the bank does not evaluate any standard then Guid.Empty is assumed as a sentinel value.
public Guid Standard { get; set; }
Property Value
Status
The current publication status of the bank.
public string Status { get; set; }
Property Value
Tenant
Uniquely identifies the organization that owns the bank.
public Guid Tenant { get; set; }
Property Value
Type
Banks are organized into types. Certain functions apply to one type and not to another type.
public BankType Type { get; set; }
Property Value
Methods
Clone()
public BankState Clone()
Returns
EnumerateAllAttachments()
public IEnumerable<Attachment> EnumerateAllAttachments()
Returns
FindAttachment(Guid)
public Attachment FindAttachment(Guid attachment)
Parameters
attachmentGuid
Returns
FindComment(Guid)
public Comment FindComment(Guid comment)
Parameters
commentGuid
Returns
FindCriterion(Guid)
public Criterion FindCriterion(Guid id)
Parameters
idGuid
Returns
FindField(Guid)
public Field FindField(Guid id)
Parameters
idGuid
Returns
FindForm(Guid)
public Form FindForm(Guid id)
Parameters
idGuid
Returns
FindForm(Guid, Guid)
public Form FindForm(Guid specId, Guid formId)
Parameters
Returns
FindOption(Guid, int)
public Option FindOption(Guid question, int number)
Parameters
Returns
FindQuestion(Guid)
Searches the sets in a bank for a specific question.
public Question FindQuestion(Guid id)
Parameters
idGuid
Returns
- Question
Returns null if the question is not found.
FindSection(Guid)
public Section FindSection(Guid id)
Parameters
idGuid
Returns
FindSet(Guid)
public Set FindSet(Guid id)
Parameters
idGuid
Returns
FindSpecification(Guid)
public Specification FindSpecification(Guid id)
Parameters
idGuid
Returns
GetAllQuestions()
public Question[] GetAllQuestions()
Returns
- Question[]
RemoveAttachment(Guid)
public void RemoveAttachment(Guid attachment)
Parameters
attachmentGuid
RemoveCriterion(CriterionDeleted)
public Criterion RemoveCriterion(CriterionDeleted e)
Parameters
Returns
RemoveField(Field)
public void RemoveField(Field field)
Parameters
fieldField
RemoveFields(Guid, Guid)
public void RemoveFields(Guid form, Guid question)
Parameters
RemoveForm(Guid)
public void RemoveForm(Guid form)
Parameters
formGuid
RemoveSection(Section)
public void RemoveSection(Section section)
Parameters
sectionSection
RemoveSection(Guid)
public void RemoveSection(Guid id)
Parameters
idGuid
RemoveSet(Guid)
public void RemoveSet(Guid set)
Parameters
setGuid
RemoveSpecification(Guid)
public void RemoveSpecification(Guid specification)
Parameters
specificationGuid
Serialize()
public string Serialize()
Returns
ShouldSerializeAttachments()
public bool ShouldSerializeAttachments()
Returns
ShouldSerializeComments()
public bool ShouldSerializeComments()
Returns
ShouldSerializeEdition()
public bool ShouldSerializeEdition()
Returns
SwapFields(Guid, Guid)
public void SwapFields(Guid a, Guid b)
Parameters
ToString()
public override string ToString()
Returns
When(AssessmentHookChanged)
public void When(AssessmentHookChanged e)
Parameters
When(AssessmentQuestionOrderVerified)
public void When(AssessmentQuestionOrderVerified change)
Parameters
When(AttachmentAdded)
public void When(AttachmentAdded e)
Parameters
When(AttachmentAddedToQuestion)
public void When(AttachmentAddedToQuestion e)
Parameters
When(AttachmentChanged)
public void When(AttachmentChanged e)
Parameters
When(AttachmentDeletedFromQuestion)
public void When(AttachmentDeletedFromQuestion e)
Parameters
When(AttachmentImageChanged)
public void When(AttachmentImageChanged e)
Parameters
When(AttachmentUpgraded)
public void When(AttachmentUpgraded e)
Parameters
When(BankAnalyzed)
public void When(BankAnalyzed _)
Parameters
When(BankAttachmentDeleted)
public void When(BankAttachmentDeleted e)
Parameters
When(BankCommentModified)
public void When(BankCommentModified e)
Parameters
When(BankCommentPosted)
public void When(BankCommentPosted e)
Parameters
When(BankContentChanged)
public void When(BankContentChanged e)
Parameters
When(BankDeleted)
public void When(BankDeleted _)
Parameters
When(BankEditionChanged)
public void When(BankEditionChanged e)
Parameters
When(BankLevelChanged)
public void When(BankLevelChanged e)
Parameters
When(BankLocked)
public void When(BankLocked _)
Parameters
When(BankMemorized)
public void When(BankMemorized e)
Parameters
When(BankOpened)
public void When(BankOpened e)
Parameters
When(BankRenamed)
public void When(BankRenamed e)
Parameters
When(BankStandardChanged)
public void When(BankStandardChanged e)
Parameters
When(BankStatusChanged)
public void When(BankStatusChanged e)
Parameters
When(BankTypeChanged)
public void When(BankTypeChanged e)
Parameters
When(BankUnlocked)
public void When(BankUnlocked _)
Parameters
When(CommentAuthorRoleChanged)
public void When(CommentAuthorRoleChanged e)
Parameters
When(CommentDuplicated)
public void When(CommentDuplicated e)
Parameters
When(CommentMoved)
public void When(CommentMoved e)
Parameters
When(CommentRejected)
public void When(CommentRejected e)
Parameters
When(CommentRetracted)
public void When(CommentRetracted e)
Parameters
When(CommentVisibilityChanged)
public void When(CommentVisibilityChanged e)
Parameters
When(CriterionAdded)
public void When(CriterionAdded e)
Parameters
When(CriterionDeleted)
public void When(CriterionDeleted e)
Parameters
When(CriterionFilterChanged)
public void When(CriterionFilterChanged e)
Parameters
When(CriterionFilterDeleted)
public void When(CriterionFilterDeleted e)
Parameters
When(FieldAdded)
public void When(FieldAdded e)
Parameters
When(FieldDeleted)
public void When(FieldDeleted e)
Parameters
When(FieldsDeleted)
public void When(FieldsDeleted e)
Parameters
When(FieldsReordered)
public void When(FieldsReordered e)
Parameters
When(FieldsSwapped)
public void When(FieldsSwapped e)
Parameters
When(FormAdded)
public void When(FormAdded e)
Parameters
When(FormAddendumChanged)
public void When(FormAddendumChanged e)
Parameters
When(FormAnalyzed)
public void When(FormAnalyzed _)
Parameters
When(FormArchived)
public void When(FormArchived e)
Parameters
When(FormAssetChanged)
public void When(FormAssetChanged e)
Parameters
When(FormClassificationChanged)
public void When(FormClassificationChanged e)
Parameters
When(FormCodeChanged)
public void When(FormCodeChanged e)
Parameters
When(FormContentChanged)
public void When(FormContentChanged e)
Parameters
When(FormDeleted)
public void When(FormDeleted e)
Parameters
When(FormGradebookChanged)
public void When(FormGradebookChanged e)
Parameters
When(FormInvigilationChanged)
public void When(FormInvigilationChanged e)
Parameters
When(FormLanguagesModified)
public void When(FormLanguagesModified e)
Parameters
When(FormMessageConnected)
public void When(FormMessageConnected e)
Parameters
When(FormNameChanged)
public void When(FormNameChanged e)
Parameters
When(FormPublished)
public void When(FormPublished e)
Parameters
When(FormUnarchived)
public void When(FormUnarchived e)
Parameters
When(FormUnpublished)
public void When(FormUnpublished e)
Parameters
When(FormUpgraded)
public void When(FormUpgraded e)
Parameters
When(FormVersionChanged)
public void When(FormVersionChanged _)
Parameters
When(OptionAdded)
public void When(OptionAdded e)
Parameters
When(OptionChanged)
public void When(OptionChanged e)
Parameters
When(OptionDeleted)
public void When(OptionDeleted e)
Parameters
When(OptionsReordered)
public void When(OptionsReordered e)
Parameters
When(QuestionAdded)
public void When(QuestionAdded e)
Parameters
When(QuestionClassificationChanged)
public void When(QuestionClassificationChanged e)
Parameters
When(QuestionComposedVoiceChanged)
public void When(QuestionComposedVoiceChanged e)
Parameters
When(QuestionConditionChanged)
public void When(QuestionConditionChanged e)
Parameters
When(QuestionContentChanged)
public void When(QuestionContentChanged e)
Parameters
When(QuestionDeleted)
public void When(QuestionDeleted e)
Parameters
When(QuestionDuplicated2)
public void When(QuestionDuplicated2 e)
Parameters
When(QuestionFlagChanged)
public void When(QuestionFlagChanged e)
Parameters
When(QuestionGradeItemChanged2)
public void When(QuestionGradeItemChanged2 e)
Parameters
When(QuestionHotspotImageChanged)
public void When(QuestionHotspotImageChanged e)
Parameters
When(QuestionHotspotOptionAdded)
public void When(QuestionHotspotOptionAdded e)
Parameters
When(QuestionHotspotOptionChanged)
public void When(QuestionHotspotOptionChanged e)
Parameters
When(QuestionHotspotOptionDeleted)
public void When(QuestionHotspotOptionDeleted e)
Parameters
When(QuestionHotspotOptionsReordered)
public void When(QuestionHotspotOptionsReordered e)
Parameters
When(QuestionHotspotPinLimitChanged)
public void When(QuestionHotspotPinLimitChanged e)
Parameters
When(QuestionHotspotShowShapesChanged)
public void When(QuestionHotspotShowShapesChanged e)
Parameters
When(QuestionLayoutChanged)
public void When(QuestionLayoutChanged e)
Parameters
When(QuestionLikertColumnAdded)
public void When(QuestionLikertColumnAdded e)
Parameters
When(QuestionLikertColumnChanged)
public void When(QuestionLikertColumnChanged e)
Parameters
When(QuestionLikertColumnDeleted)
public void When(QuestionLikertColumnDeleted e)
Parameters
When(QuestionLikertOptionsChanged)
public void When(QuestionLikertOptionsChanged e)
Parameters
When(QuestionLikertReordered)
public void When(QuestionLikertReordered e)
Parameters
When(QuestionLikertRowAdded)
public void When(QuestionLikertRowAdded e)
Parameters
When(QuestionLikertRowChanged)
public void When(QuestionLikertRowChanged e)
Parameters
When(QuestionLikertRowDeleted)
public void When(QuestionLikertRowDeleted e)
Parameters
When(QuestionLikertRowGradeItemChanged)
public void When(QuestionLikertRowGradeItemChanged e)
Parameters
When(QuestionMatchesChanged)
public void When(QuestionMatchesChanged e)
Parameters
When(QuestionMoved)
public void When(QuestionMoved e)
Parameters
When(QuestionMovedIn)
public void When(QuestionMovedIn e)
Parameters
When(QuestionMovedOut)
public void When(QuestionMovedOut e)
Parameters
When(QuestionOrderingLabelChanged)
public void When(QuestionOrderingLabelChanged e)
Parameters
When(QuestionOrderingOptionAdded)
public void When(QuestionOrderingOptionAdded e)
Parameters
When(QuestionOrderingOptionChanged)
public void When(QuestionOrderingOptionChanged e)
Parameters
When(QuestionOrderingOptionDeleted)
public void When(QuestionOrderingOptionDeleted e)
Parameters
When(QuestionOrderingOptionsReordered)
public void When(QuestionOrderingOptionsReordered e)
Parameters
When(QuestionOrderingSolutionAdded)
public void When(QuestionOrderingSolutionAdded e)
Parameters
When(QuestionOrderingSolutionChanged)
public void When(QuestionOrderingSolutionChanged e)
Parameters
When(QuestionOrderingSolutionDeleted)
public void When(QuestionOrderingSolutionDeleted e)
Parameters
When(QuestionOrderingSolutionOptionsReordered)
public void When(QuestionOrderingSolutionOptionsReordered e)
Parameters
When(QuestionOrderingSolutionsReordered)
public void When(QuestionOrderingSolutionsReordered e)
Parameters
When(QuestionPublicationStatusChanged)
public void When(QuestionPublicationStatusChanged e)
Parameters
When(QuestionRandomizationChanged)
public void When(QuestionRandomizationChanged e)
Parameters
When(QuestionRubricConnected)
public void When(QuestionRubricConnected e)
Parameters
When(QuestionRubricDisconnected)
public void When(QuestionRubricDisconnected e)
Parameters
When(QuestionScoringChanged)
public void When(QuestionScoringChanged e)
Parameters
When(QuestionSetChanged)
public void When(QuestionSetChanged e)
Parameters
When(QuestionStandardChanged)
public void When(QuestionStandardChanged e)
Parameters
When(QuestionUpgraded)
public void When(QuestionUpgraded e)
Parameters
When(QuestionsReordered)
public void When(QuestionsReordered e)
Parameters
When(SectionAdded)
public void When(SectionAdded e)
Parameters
When(SectionContentChanged)
public void When(SectionContentChanged e)
Parameters
When(SectionDeleted)
public void When(SectionDeleted e)
Parameters
When(SectionReconfigured)
public void When(SectionReconfigured e)
Parameters
When(SectionsAsTabsDisabled)
public void When(SectionsAsTabsDisabled e)
Parameters
When(SectionsAsTabsEnabled)
public void When(SectionsAsTabsEnabled e)
Parameters
When(SectionsReordered)
public void When(SectionsReordered e)
Parameters
When(SetAdded)
public void When(SetAdded e)
Parameters
eSetAdded
When(SetDeleted)
public void When(SetDeleted e)
Parameters
When(SetImported)
public void When(SetImported e)
Parameters
When(SetRandomizationChanged)
public void When(SetRandomizationChanged e)
Parameters
When(SetRenamed)
public void When(SetRenamed e)
Parameters
When(SetStandardChanged)
public void When(SetStandardChanged e)
Parameters
When(SetsMerged)
public void When(SetsMerged e)
Parameters
When(SetsReordered)
public void When(SetsReordered e)
Parameters
When(SingleQuestionPerTabDisabled)
public void When(SingleQuestionPerTabDisabled e)
Parameters
When(SingleQuestionPerTabEnabled)
public void When(SingleQuestionPerTabEnabled e)
Parameters
When(SpecificationAdded)
public void When(SpecificationAdded e)
Parameters
When(SpecificationCalculationChanged)
public void When(SpecificationCalculationChanged e)
Parameters
When(SpecificationContentChanged)
public void When(SpecificationContentChanged e)
Parameters
When(SpecificationDeleted)
public void When(SpecificationDeleted e)
Parameters
When(SpecificationReconfigured)
public void When(SpecificationReconfigured e)
Parameters
When(SpecificationRenamed)
public void When(SpecificationRenamed e)
Parameters
When(SpecificationRetyped)
public void When(SpecificationRetyped e)
Parameters
When(SpecificationTabTimeLimitChanged)
public void When(SpecificationTabTimeLimitChanged e)
Parameters
When(TabNavigationDisabled)
public void When(TabNavigationDisabled e)
Parameters
When(TabNavigationEnabled)
public void When(TabNavigationEnabled e)
Parameters
When(ThirdPartyAssessmentDisabled)
public void When(ThirdPartyAssessmentDisabled e)
Parameters
When(ThirdPartyAssessmentEnabled)
public void When(ThirdPartyAssessmentEnabled e)
Parameters
When(SerializedChange)
public void When(SerializedChange _)