C# Class Domain.Client.Clients.Client

Inheritance: IClientState
Show file Open project: AdrianFreemantle/DDD Class Usage Examples

Protected Methods

Method Description
ApplyEvent ( object @event ) : void
GetSnapshot ( ) : IMemento
RestoreSnapshot ( IMemento memento ) : void

Private Methods

Method 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 method

protected ApplyEvent ( object @event ) : void
@event object
return void

GetSnapshot() protected method

protected GetSnapshot ( ) : IMemento
return IMemento

RestoreSnapshot() protected method

protected RestoreSnapshot ( IMemento memento ) : void
memento IMemento
return void