Class InvoiceChangeProjector
- Namespace
- InSite.Application.Invoices.Read
- Assembly
- Shift.Sdk.dll
Implements the projector for Invoice events.
public class InvoiceChangeProjector
- Inheritance
-
InvoiceChangeProjector
- Inherited Members
- Extension Methods
Remarks
A projector is responsible for creating projections based on events. Events 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 past events.
Constructors
InvoiceChangeProjector(IChangeQueue, IInvoiceStore)
public InvoiceChangeProjector(IChangeQueue publisher, IInvoiceStore store)
Parameters
publisherIChangeQueuestoreIInvoiceStore
Methods
Handle(InvoiceCustomerChanged)
public void Handle(InvoiceCustomerChanged e)
Parameters
Handle(InvoiceDeleted)
public void Handle(InvoiceDeleted e)
Parameters
Handle(InvoiceDrafted)
public void Handle(InvoiceDrafted e)
Parameters
Handle(InvoiceItemAdded)
public void Handle(InvoiceItemAdded e)
Parameters
Handle(InvoiceItemChanged)
public void Handle(InvoiceItemChanged e)
Parameters
Handle(InvoiceItemRemoved)
public void Handle(InvoiceItemRemoved e)
Parameters
Handle(InvoiceNumberChanged)
public void Handle(InvoiceNumberChanged e)
Parameters
Handle(InvoicePaid)
public void Handle(InvoicePaid e)
Parameters
Handle(InvoicePaidDateChanged)
public void Handle(InvoicePaidDateChanged e)
Parameters
Handle(InvoicePaymentFailed)
public void Handle(InvoicePaymentFailed e)
Parameters
Handle(InvoiceReferenced)
public void Handle(InvoiceReferenced e)
Parameters
Handle(InvoiceStatusChanged)
public void Handle(InvoiceStatusChanged e)
Parameters
Handle(InvoiceSubmitted)
public void Handle(InvoiceSubmitted e)
Parameters
Handle(InvoiceBusinessCustomerChanged)
public void Handle(InvoiceBusinessCustomerChanged e)
Parameters
Handle(InvoiceEmployeeChanged)
public void Handle(InvoiceEmployeeChanged e)
Parameters
Handle(InvoiceIssueChanged)
public void Handle(InvoiceIssueChanged e)