C# Класс EventSourcingCqrsSample.EventProcessors.EventProcessor

This represents the processor entity for events.
Наследование: IEventProcessor
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetHandlers ( BaseEvent ev ) : IEnumerable

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

EventProcessor() публичный Метод

Initializes a new instance of the EventProcessor class.
public EventProcessor ( IUnitOfWorkManager uowm ) : System
uowm IUnitOfWorkManager instance.
Результат System

ProcessEventsAsync() публичный Метод

Processes the list of events asynchronously.
public ProcessEventsAsync ( IEnumerable evs ) : Task
evs IEnumerable List of events.
Результат Task