C# Class PatientPending.Core.AggregateRoot

Exibir arquivo Open project: PaulUpson/PatientPending

Public Methods

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

Protected Methods

Method Description
ApplyChange ( Event @event ) : void

Private Methods

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

Method Details

ApplyChange() protected method

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

GetUncommittedChanges() public method

public GetUncommittedChanges ( ) : IEnumerable
return IEnumerable

LoadFromHistory() public method

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

MarkChangesAsCommitted() public method

public MarkChangesAsCommitted ( ) : void
return void