C# Class EventSourcingCqrsSample.EventProcessors.EventProcessor

This represents the processor entity for events.
Inheritance: IEventProcessor
Afficher le fichier Open project: devkimchi/EventSourcing-CQRS-Sample

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

EventProcessor ( IUnitOfWorkManager uowm ) : System

Initializes a new instance of the EventProcessor class.

ProcessEventsAsync ( IEnumerable evs ) : Task

Processes the list of events asynchronously.

Private Methods

Méthode Description
GetHandlers ( BaseEvent ev ) : IEnumerable

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

EventProcessor() public méthode

Initializes a new instance of the EventProcessor class.
public EventProcessor ( IUnitOfWorkManager uowm ) : System
uowm IUnitOfWorkManager instance.
Résultat System

ProcessEventsAsync() public méthode

Processes the list of events asynchronously.
public ProcessEventsAsync ( IEnumerable evs ) : Task
evs IEnumerable List of events.
Résultat Task