C# Class MonoKit.Domain.AggregateRoot

Inheritance: IAggregateRoot
显示文件 Open project: sgmunn/MonoKit

Public Methods

Method Description
AggregateRoot ( ) : System
Commit ( ) : void

Protected Methods

Method Description
ApplyEvents ( IList events ) : void
RaiseEvent ( System.Guid aggregateId, IAggregateEvent evt ) : void

Private Methods

Method Description
ApplyEvent ( IAggregateEvent evt ) : void

Method Details

AggregateRoot() public method

public AggregateRoot ( ) : System
return System

ApplyEvents() protected method

protected ApplyEvents ( IList events ) : void
events IList
return void

Commit() public method

public Commit ( ) : void
return void

RaiseEvent() protected method

protected RaiseEvent ( System.Guid aggregateId, IAggregateEvent evt ) : void
aggregateId System.Guid
evt IAggregateEvent
return void