C# Class PersistenceModel.AccountProjections

Inheritance: IHandleAccountStateTransitions
Mostrar archivo Open project: AdrianFreemantle/DDD Class Usage Examples

Public Methods

Method 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

Method Description
FetchModel ( AccountNumber accountNumber ) : AccountModel

Method Details

AccountProjections() public method

public AccountProjections ( IRepository repository ) : Domain.Client.Accounts
repository IRepository
return Domain.Client.Accounts

AccountProjections() public method

public AccountProjections ( IRepository repository ) : System.Linq
repository IRepository
return System.Linq

When() public method

public When ( AccountBilled @event ) : void
@event Domain.Client.Events.AccountBilled
return void

When() public method

public When ( AccountOpened @event ) : void
@event Domain.Client.Events.AccountOpened
return void

When() public method

public When ( AccountStatusChanged @event ) : void
@event Domain.Client.Events.AccountStatusChanged
return void