C# Класс paramore.brighter.commandprocessor.eventsourcing.Attributes.UseCommandSourcingAsyncAttribute

Class UseAsyncCommandSourcingAttribute. We use this attribute to indicate that we want to use Event Sourcing, with async support, where the application state is the system of record but we want to store the commands that led to the current application state, so that we can rebuild application state or recreate commands See Martin Fowler Event Sourcing for more on this approach.
Наследование: RequestHandlerAttribute
Показать файл Открыть проект

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

Метод Описание
GetHandlerType ( ) : Type

Gets the type of the handler.

UseCommandSourcingAsyncAttribute ( int step, HandlerTiming timing = HandlerTiming.Before ) : System

Initializes a new instance of the UseCommandSourcingAsyncAttribute class.

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

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

Gets the type of the handler.
public GetHandlerType ( ) : Type
Результат System.Type

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

Initializes a new instance of the UseCommandSourcingAsyncAttribute class.
public UseCommandSourcingAsyncAttribute ( int step, HandlerTiming timing = HandlerTiming.Before ) : System
step int The step.
timing HandlerTiming The timing.
Результат System