Table of Contents

Class AttemptChangeProjector

Namespace
InSite.Application.Attempts.Read
Assembly
Shift.Sdk.dll

Implements the projector for changes to an assessment Attempt.

public class AttemptChangeProjector
Inheritance
AttemptChangeProjector
Inherited Members
Extension Methods

Remarks

Methods in this class should modify only the query/projection tables for assessment attempts. They must NOT have any other side effects.

Constructors

AttemptChangeProjector(IChangeQueue, IChangeStore, IInstructorAttemptStore, IBankSearch)

public AttemptChangeProjector(IChangeQueue publisher, IChangeStore changeStore, IInstructorAttemptStore attemptStore, IBankSearch banks)

Parameters

publisher IChangeQueue
changeStore IChangeStore
attemptStore IInstructorAttemptStore
banks IBankSearch

Methods

Handle(AttemptAnalyzed)

Moves the buffered attempt to the query table for instructors and administrators.

public void Handle(AttemptAnalyzed e)

Parameters

e AttemptAnalyzed

Handle(AttemptCommentPosted)

public void Handle(AttemptCommentPosted e)

Parameters

e AttemptCommentPosted

Handle(AttemptFixed)

public void Handle(AttemptFixed e)

Parameters

e AttemptFixed

Handle(AttemptGraded)

public void Handle(AttemptGraded e)

Parameters

e AttemptGraded

Handle(AttemptGradedDateChanged)

public void Handle(AttemptGradedDateChanged e)

Parameters

e AttemptGradedDateChanged

Handle(AttemptGradingAssessorAssigned)

public void Handle(AttemptGradingAssessorAssigned e)

Parameters

e AttemptGradingAssessorAssigned

Handle(AttemptImported)

public void Handle(AttemptImported e)

Parameters

e AttemptImported

Handle(AttemptPinged)

public void Handle(AttemptPinged e)

Parameters

e AttemptPinged

Handle(AttemptQuestionRubricChanged)

public void Handle(AttemptQuestionRubricChanged e)

Parameters

e AttemptQuestionRubricChanged

Handle(AttemptQuestionRubricInited)

public void Handle(AttemptQuestionRubricInited e)

Parameters

e AttemptQuestionRubricInited

Handle(AttemptQuestionSwitched)

public void Handle(AttemptQuestionSwitched e)

Parameters

e AttemptQuestionSwitched

Handle(AttemptResumed)

public void Handle(AttemptResumed e)

Parameters

e AttemptResumed

Handle(AttemptRubricChanged)

public void Handle(AttemptRubricChanged e)

Parameters

e AttemptRubricChanged

Handle(AttemptRubricPointsUpdated)

public void Handle(AttemptRubricPointsUpdated e)

Parameters

e AttemptRubricPointsUpdated

Handle(AttemptSectionSwitched)

public void Handle(AttemptSectionSwitched e)

Parameters

e AttemptSectionSwitched

Handle(AttemptStarted2)

public void Handle(AttemptStarted2 change)

Parameters

change AttemptStarted2

Handle(AttemptStarted3)

public void Handle(AttemptStarted3 change)

Parameters

change AttemptStarted3

Handle(AttemptSubmitted)

public void Handle(AttemptSubmitted e)

Parameters

e AttemptSubmitted

Handle(AttemptTagged)

public void Handle(AttemptTagged e)

Parameters

e AttemptTagged

Handle(AttemptVoided)

public void Handle(AttemptVoided e)

Parameters

e AttemptVoided

Handle(BooleanTableQuestionAnswered)

public void Handle(BooleanTableQuestionAnswered e)

Parameters

e BooleanTableQuestionAnswered

Handle(ComposedQuestionAnswered)

public void Handle(ComposedQuestionAnswered e)

Parameters

e ComposedQuestionAnswered

Handle(ComposedQuestionAttemptStarted)

public void Handle(ComposedQuestionAttemptStarted e)

Parameters

e ComposedQuestionAttemptStarted

Handle(ComposedQuestionScored)

public void Handle(ComposedQuestionScored e)

Parameters

e ComposedQuestionScored

Handle(HotspotQuestionAnswered)

public void Handle(HotspotQuestionAnswered e)

Parameters

e HotspotQuestionAnswered

Handle(MatchingQuestionAnswered)

public void Handle(MatchingQuestionAnswered e)

Parameters

e MatchingQuestionAnswered

Handle(MultipleChoiceQuestionAnswered)

public void Handle(MultipleChoiceQuestionAnswered e)

Parameters

e MultipleChoiceQuestionAnswered

Handle(MultipleCorrectQuestionAnswered)

public void Handle(MultipleCorrectQuestionAnswered e)

Parameters

e MultipleCorrectQuestionAnswered

Handle(OrderingQuestionAnswered)

public void Handle(OrderingQuestionAnswered e)

Parameters

e OrderingQuestionAnswered

Handle(QuestionRegraded)

public void Handle(QuestionRegraded e)

Parameters

e QuestionRegraded

Handle(QuestionVoided)

public void Handle(QuestionVoided e)

Parameters

e QuestionVoided

Handle(ScoreCalculated)

public void Handle(ScoreCalculated e)

Parameters

e ScoreCalculated

Handle(TrueOrFalseQuestionAnswered)

public void Handle(TrueOrFalseQuestionAnswered e)

Parameters

e TrueOrFalseQuestionAnswered

Handle(SerializedChange)

public void Handle(SerializedChange e)

Parameters

e SerializedChange

Replay(IChangeStore, IEnumerable<Guid>, Action<string, int, int, Guid>)

public void Replay(IChangeStore store, IEnumerable<Guid> aggregateIdentifiers, Action<string, int, int, Guid> progress)

Parameters

store IChangeStore
aggregateIdentifiers IEnumerable<Guid>
progress Action<string, int, int, Guid>