C# Class ApplicationService.AccountApplicationService

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

Méthodes publiques

Méthode Description
AccountApplicationService ( IAccountRepository accountRepository, IAccountNumberService accountNumberService, IUnitOfWork unitOfWork ) : System
AccountApplicationService ( IAggregateRepository accountRepository, IAccountNumberService accountNumberService, IUnitOfWork unitOfWork ) : System
AccountApplicationService ( IAggregateRepository accountRepository, IAccountProjections accountProjections, IAccountNumberService accountNumberService, IUnitOfWork unitOfWork ) : System
Execute ( CancelAccount command ) : void
Execute ( OpenAccount command ) : void
Execute ( RegisterMissedPayment command ) : void
Execute ( RegisterSuccessfullPayment command ) : void
When ( ClientPassedAway @event ) : void

Private Methods

Méthode Description
HandleException ( Exception ex ) : void
SubsribeToEvents ( ) : void

Method Details

AccountApplicationService() public méthode

public AccountApplicationService ( IAccountRepository accountRepository, IAccountNumberService accountNumberService, IUnitOfWork unitOfWork ) : System
accountRepository IAccountRepository
accountNumberService IAccountNumberService
unitOfWork IUnitOfWork
Résultat System

AccountApplicationService() public méthode

public AccountApplicationService ( IAggregateRepository accountRepository, IAccountNumberService accountNumberService, IUnitOfWork unitOfWork ) : System
accountRepository IAggregateRepository
accountNumberService IAccountNumberService
unitOfWork IUnitOfWork
Résultat System

AccountApplicationService() public méthode

public AccountApplicationService ( IAggregateRepository accountRepository, IAccountProjections accountProjections, IAccountNumberService accountNumberService, IUnitOfWork unitOfWork ) : System
accountRepository IAggregateRepository
accountProjections IAccountProjections
accountNumberService IAccountNumberService
unitOfWork IUnitOfWork
Résultat System

Execute() public méthode

public Execute ( CancelAccount command ) : void
command Domain.Client.Accounts.Commands.CancelAccount
Résultat void

Execute() public méthode

public Execute ( OpenAccount command ) : void
command Domain.Client.Accounts.Commands.OpenAccount
Résultat void

Execute() public méthode

public Execute ( RegisterMissedPayment command ) : void
command Domain.Client.Accounts.Commands.RegisterMissedPayment
Résultat void

Execute() public méthode

public Execute ( RegisterSuccessfullPayment command ) : void
command Domain.Client.Accounts.Commands.RegisterSuccessfullPayment
Résultat void

When() public méthode

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