C# Class Joshilewis.Cqrs.Aggregate

Mostra file Open project: joshilewis/lending

Public Methods

Method Description
ClearUncommittedEvents ( ) : void
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetUncommittedEvents ( ) : IList

Protected Methods

Method Description
Aggregate ( ) : System
ApplyEvent ( Event @event ) : void
Created ( ) : EResultCode
Fail ( string reason ) : EResultCode
RaiseEvent ( Event @event ) : void
Success ( ) : EResultCode
When ( Event @event ) : void

Private Methods

Method Description
DispatchEvent ( Event @event ) : void

Method Details

Aggregate() protected method

protected Aggregate ( ) : System
return System

ApplyEvent() protected method

protected ApplyEvent ( Event @event ) : void
@event Event
return void

ClearUncommittedEvents() public method

public ClearUncommittedEvents ( ) : void
return void

Created() protected method

protected Created ( ) : EResultCode
return EResultCode

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

Fail() protected method

protected Fail ( string reason ) : EResultCode
reason string
return EResultCode

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetUncommittedEvents() public method

public GetUncommittedEvents ( ) : IList
return IList

RaiseEvent() protected method

protected RaiseEvent ( Event @event ) : void
@event Event
return void

Success() protected method

protected Success ( ) : EResultCode
return EResultCode

When() protected method

protected When ( Event @event ) : void
@event Event
return void