Class PersonSecretChangeProjector
- Namespace
- InSite.Application.Contacts.Read
- Assembly
- Shift.Sdk.dll
Implements the projector for Person Secret changes.
public class PersonSecretChangeProjector
- Inheritance
-
PersonSecretChangeProjector
- Inherited Members
- Extension Methods
Remarks
A projector is responsible for creating projections based on events. Changes can (and often should) be replayed by a projector, and there should be no side effects (aside from modifications to the projection tables). A processor, in contrast, should never replay past changes.
Constructors
PersonSecretChangeProjector(IChangeQueue, IPersonSecretStore)
public PersonSecretChangeProjector(IChangeQueue publisher, IPersonSecretStore store)
Parameters
publisherIChangeQueuestoreIPersonSecretStore
Methods
Handle(PersonSecretAdded)
public void Handle(PersonSecretAdded e)
Parameters
Handle(PersonSecretRemoved)
public void Handle(PersonSecretRemoved e)