C# Class Domain.Client.Clients.Client

Inheritance: IClientState
Afficher le fichier Open project: AdrianFreemantle/DDD Class Usage Examples

Méthodes protégées

Méthode Description
ApplyEvent ( object @event ) : void
GetSnapshot ( ) : IMemento
RestoreSnapshot ( IMemento memento ) : void

Private Methods

Méthode Description
IClientState ( ClientDateOfBirthCorrected @event ) : void
IClientState ( ClientPassedAway @event ) : void
IClientState ( ClientRegistered @event ) : void
IHandleClientStateTransitions ( AccountAssingedToClient @event ) : void
IHandleClientStateTransitions ( ClientDateOfBirthCorrected @event ) : void
IHandleClientStateTransitions ( ClientPassedAway @event ) : void
IHandleClientStateTransitions ( ClientRegistered @event ) : void
IHandleClientStateTransitions ( IssuedLoyaltyCard @event ) : void

Method Details

ApplyEvent() protected méthode

protected ApplyEvent ( object @event ) : void
@event object
Résultat void

GetSnapshot() protected méthode

protected GetSnapshot ( ) : IMemento
Résultat IMemento

RestoreSnapshot() protected méthode

protected RestoreSnapshot ( IMemento memento ) : void
memento IMemento
Résultat void