C# Class SevenDigital.Content.Ingestion.Spike.Domain.Boilerplate.AggregateRoot

Mostrar archivo Open project: 7digital/sevendigital-content-ingestion-spike

Public Methods

Method Description
GetUncommittedChanges ( ) : IEnumerable
LoadsFromHistory ( IEnumerable history ) : void
MarkChangesAsCommitted ( ) : 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

GetUncommittedChanges() public method

public GetUncommittedChanges ( ) : IEnumerable
return IEnumerable

LoadsFromHistory() public method

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

MarkChangesAsCommitted() public method

public MarkChangesAsCommitted ( ) : void
return void