C# Class 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.
Inheritance: RequestHandlerAttribute
Afficher le fichier Open project: iancooper/Paramore

Méthodes publiques

Méthode Description
GetHandlerType ( ) : Type

Gets the type of the handler.

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

Initializes a new instance of the UseCommandSourcingAsyncAttribute class.

Method Details

GetHandlerType() public méthode

Gets the type of the handler.
public GetHandlerType ( ) : Type
Résultat System.Type

UseCommandSourcingAsyncAttribute() public méthode

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.
Résultat System