C# Class Regalo.Core.AggregateRoot

Afficher le fichier Open project: nbarnwell/Regalo

Méthodes publiques

Méthode Description
AcceptUncommittedEvents ( ) : void
ApplyAll ( IEnumerable events ) : void
GetUncommittedEvents ( ) : IEnumerable

Méthodes protégées

Méthode Description
Record ( object evt ) : void

Private Methods

Méthode Description
ApplyEvent ( object evt ) : void
FindApplyMethod ( Type eventType ) : MethodInfo
FindApplyMethods ( object evt ) : IEnumerable

Returns the Apply methods for each type in the event type's inheritance hierarchy, top-down, from interfaces before classes.

FindCurrentVersion ( ) : Guid?
SetParentVersion ( object evt ) : void
ValidateHasId ( ) : void

Method Details

AcceptUncommittedEvents() public méthode

public AcceptUncommittedEvents ( ) : void
Résultat void

ApplyAll() public méthode

public ApplyAll ( IEnumerable events ) : void
events IEnumerable
Résultat void

GetUncommittedEvents() public méthode

public GetUncommittedEvents ( ) : IEnumerable
Résultat IEnumerable

Record() protected méthode

protected Record ( object evt ) : void
evt object
Résultat void