C# Class PersistenceModel.AccountProjections

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

Méthodes publiques

Méthode Description
AccountProjections ( IRepository repository ) : Domain.Client.Accounts
AccountProjections ( IRepository repository ) : System.Linq
When ( AccountBilled @event ) : void
When ( AccountOpened @event ) : void
When ( AccountStatusChanged @event ) : void

Private Methods

Méthode Description
FetchModel ( AccountNumber accountNumber ) : AccountModel

Method Details

AccountProjections() public méthode

public AccountProjections ( IRepository repository ) : Domain.Client.Accounts
repository IRepository
Résultat Domain.Client.Accounts

AccountProjections() public méthode

public AccountProjections ( IRepository repository ) : System.Linq
repository IRepository
Résultat System.Linq

When() public méthode

public When ( AccountBilled @event ) : void
@event Domain.Client.Events.AccountBilled
Résultat void

When() public méthode

public When ( AccountOpened @event ) : void
@event Domain.Client.Events.AccountOpened
Résultat void

When() public méthode

public When ( AccountStatusChanged @event ) : void
@event Domain.Client.Events.AccountStatusChanged
Résultat void