C# Class CQRSlite.Domain.AggregateRoot

Show file Open project: gautema/CQRSlite Class Usage Examples

Public Methods

Method Description
FlushUncommitedChanges ( ) : IEnumerable
GetUncommittedChanges ( ) : IEnumerable
LoadFromHistory ( IEnumerable history ) : void

Protected Methods

Method Description
ApplyChange ( IEvent @event ) : void

Private Methods

Method Description
ApplyChange ( IEvent @event, bool isNew ) : void

Method Details

ApplyChange() protected method

protected ApplyChange ( IEvent @event ) : void
@event IEvent
return void

FlushUncommitedChanges() public method

public FlushUncommitedChanges ( ) : IEnumerable
return IEnumerable

GetUncommittedChanges() public method

public GetUncommittedChanges ( ) : IEnumerable
return IEnumerable

LoadFromHistory() public method

public LoadFromHistory ( IEnumerable history ) : void
history IEnumerable
return void