Class PeriodChangeProjector
- Namespace
- InSite.Application.Records.Read
- Assembly
- Shift.Sdk.dll
Implements the projector for Program changes.
public class PeriodChangeProjector
- Inheritance
-
PeriodChangeProjector
- Inherited Members
- Extension Methods
Remarks
A projector is responsible for creating projections (i.e. records in query tables) based on changes. Changes can (and often should) be replayed by a projector, and there should be no side effects (aside from changes to the projection tables). A processor, in contrast, should never replay changes.
Constructors
PeriodChangeProjector(IChangeQueue, IPeriodStore)
public PeriodChangeProjector(IChangeQueue publisher, IPeriodStore store)
Parameters
publisherIChangeQueuestoreIPeriodStore
Methods
Handle(PeriodCreated)
public void Handle(PeriodCreated e)
Parameters
Handle(PeriodDeleted)
public void Handle(PeriodDeleted e)
Parameters
Handle(PeriodRenamed)
public void Handle(PeriodRenamed e)
Parameters
Handle(PeriodRescheduled)
public void Handle(PeriodRescheduled e)