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
파일 보기 프로젝트 열기: iancooper/Paramore

공개 메소드들

메소드 설명
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