C# Class PersistenceModel.Reporting.Projections.ClientViewProjections

Inheritance: IAccountProjections, IClientProjections
ファイルを表示 Open project: AdrianFreemantle/DDD Class Usage Examples

Public Methods

Method Description
ClientViewProjections ( IRepository repository ) : Domain.Client.Accounts
When ( AccountBilled @event ) : void
When ( AccountOpened @event ) : void
When ( AccountStatusChanged @event ) : void
When ( ClientDateOfBirthCorrected @event ) : void
When ( ClientPassedAway @event ) : void
When ( ClientRegistered @event ) : void

Private Methods

Method Description
FetchClientView ( ClientId clientId ) : ClientView

Method Details

ClientViewProjections() public method

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

When() public method

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

When() public method

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

When() public method

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

When() public method

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

When() public method

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

When() public method

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