Table of Contents

Class AttemptState

Namespace
InSite.Domain.Attempts
Assembly
Shift.Sdk.dll
public class AttemptState : AggregateState
Inheritance
AttemptState
Inherited Members
Extension Methods

Constructors

AttemptState()

public AttemptState()

Properties

ActiveQuestionIndex

public int? ActiveQuestionIndex { get; }

Property Value

int?

ActiveSectionIndex

public int? ActiveSectionIndex { get; }

Property Value

int?

BankIdentifier

public Guid? BankIdentifier { get; }

Property Value

Guid?

Configuration

public AttemptConfiguration Configuration { get; }

Property Value

AttemptConfiguration

Duration

public decimal Duration { get; }

Property Value

decimal

Identifier

public Guid Identifier { get; }

Property Value

Guid

Pinged

public DateTimeOffset? Pinged { get; }

Property Value

DateTimeOffset?

Questions

public AttemptQuestionState[] Questions { get; }

Property Value

AttemptQuestionState[]

Sections

public AttemptSectionState[] Sections { get; }

Property Value

AttemptSectionState[]

Started

public DateTimeOffset? Started { get; }

Property Value

DateTimeOffset?

Submitted

public DateTimeOffset? Submitted { get; }

Property Value

DateTimeOffset?

TimeIntervals

public List<AttemptTimeInterval> TimeIntervals { get; }

Property Value

List<AttemptTimeInterval>

Methods

When(AttemptAnalyzed)

public void When(AttemptAnalyzed _)

Parameters

_ AttemptAnalyzed

When(AttemptCommentPosted)

public void When(AttemptCommentPosted _)

Parameters

_ AttemptCommentPosted

When(AttemptFixed)

public void When(AttemptFixed _)

Parameters

_ AttemptFixed

When(AttemptGraded)

public void When(AttemptGraded e)

Parameters

e AttemptGraded

When(AttemptGradedDateChanged)

public void When(AttemptGradedDateChanged _)

Parameters

_ AttemptGradedDateChanged

When(AttemptGradingAssessorAssigned)

public void When(AttemptGradingAssessorAssigned e)

Parameters

e AttemptGradingAssessorAssigned

When(AttemptImported)

public void When(AttemptImported e)

Parameters

e AttemptImported

When(AttemptPinged)

public void When(AttemptPinged e)

Parameters

e AttemptPinged

When(AttemptQuestionRubricChanged)

public void When(AttemptQuestionRubricChanged e)

Parameters

e AttemptQuestionRubricChanged

When(AttemptQuestionRubricInited)

public void When(AttemptQuestionRubricInited e)

Parameters

e AttemptQuestionRubricInited

When(AttemptQuestionSwitched)

public void When(AttemptQuestionSwitched e)

Parameters

e AttemptQuestionSwitched

When(AttemptResumed)

public void When(AttemptResumed e)

Parameters

e AttemptResumed

When(AttemptRubricChanged)

public void When(AttemptRubricChanged e)

Parameters

e AttemptRubricChanged

When(AttemptRubricPointsUpdated)

public void When(AttemptRubricPointsUpdated e)

Parameters

e AttemptRubricPointsUpdated

When(AttemptSectionSwitched)

public void When(AttemptSectionSwitched e)

Parameters

e AttemptSectionSwitched

When(AttemptStarted2)

public void When(AttemptStarted2 e)

Parameters

e AttemptStarted2

When(AttemptStarted3)

public void When(AttemptStarted3 e)

Parameters

e AttemptStarted3

When(AttemptSubmitted)

public void When(AttemptSubmitted e)

Parameters

e AttemptSubmitted

When(AttemptTagged)

public void When(AttemptTagged _)

Parameters

_ AttemptTagged

When(AttemptVoided)

public void When(AttemptVoided _)

Parameters

_ AttemptVoided

When(BooleanTableQuestionAnswered)

public void When(BooleanTableQuestionAnswered _)

Parameters

_ BooleanTableQuestionAnswered

When(ComposedQuestionAnswered)

public void When(ComposedQuestionAnswered _)

Parameters

_ ComposedQuestionAnswered

When(ComposedQuestionAttemptStarted)

public void When(ComposedQuestionAttemptStarted _)

Parameters

_ ComposedQuestionAttemptStarted

When(ComposedQuestionScored)

public void When(ComposedQuestionScored _)

Parameters

_ ComposedQuestionScored

When(HotspotQuestionAnswered)

public void When(HotspotQuestionAnswered _)

Parameters

_ HotspotQuestionAnswered

When(MatchingQuestionAnswered)

public void When(MatchingQuestionAnswered _)

Parameters

_ MatchingQuestionAnswered

When(MultipleChoiceQuestionAnswered)

public void When(MultipleChoiceQuestionAnswered _)

Parameters

_ MultipleChoiceQuestionAnswered

When(MultipleCorrectQuestionAnswered)

public void When(MultipleCorrectQuestionAnswered _)

Parameters

_ MultipleCorrectQuestionAnswered

When(OrderingQuestionAnswered)

public void When(OrderingQuestionAnswered _)

Parameters

_ OrderingQuestionAnswered

When(QuestionRegraded)

public void When(QuestionRegraded _)

Parameters

_ QuestionRegraded

When(QuestionVoided)

public void When(QuestionVoided _)

Parameters

_ QuestionVoided

When(ScoreCalculated)

public void When(ScoreCalculated _)

Parameters

_ ScoreCalculated

When(TrueOrFalseQuestionAnswered)

public void When(TrueOrFalseQuestionAnswered _)

Parameters

_ TrueOrFalseQuestionAnswered

When(SerializedChange)

public void When(SerializedChange e)

Parameters

e SerializedChange