C# Class ApplicationService.ClientApplicationService

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

Méthodes publiques

Méthode Description
ClientApplicationService ( IAggregateRepository clientRepository, IClientProjections clientProjections, IUnitOfWork unitOfWork ) : System
ClientApplicationService ( IAggregateRepository clientRepository, IUnitOfWork unitOfWork ) : System
Execute ( CancelLoyaltyCard command ) : void
Execute ( CorrectDateOfBirth command ) : void
Execute ( IssueLoyaltyCard command ) : void
Execute ( RegisterClient command ) : void
Execute ( ReportLoyaltyCardAsStolen command ) : void
Execute ( SetClientAsDeceased command ) : void

Private Methods

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

Method Details

ClientApplicationService() public méthode

public ClientApplicationService ( IAggregateRepository clientRepository, IClientProjections clientProjections, IUnitOfWork unitOfWork ) : System
clientRepository IAggregateRepository
clientProjections IClientProjections
unitOfWork IUnitOfWork
Résultat System

ClientApplicationService() public méthode

public ClientApplicationService ( IAggregateRepository clientRepository, IUnitOfWork unitOfWork ) : System
clientRepository IAggregateRepository
unitOfWork IUnitOfWork
Résultat System

Execute() public méthode

public Execute ( CancelLoyaltyCard command ) : void
command Domain.Client.Clients.Commands.CancelLoyaltyCard
Résultat void

Execute() public méthode

public Execute ( CorrectDateOfBirth command ) : void
command Domain.Client.Clients.Commands.CorrectDateOfBirth
Résultat void

Execute() public méthode

public Execute ( IssueLoyaltyCard command ) : void
command Domain.Client.Clients.Commands.IssueLoyaltyCard
Résultat void

Execute() public méthode

public Execute ( RegisterClient command ) : void
command Domain.Client.Clients.Commands.RegisterClient
Résultat void

Execute() public méthode

public Execute ( ReportLoyaltyCardAsStolen command ) : void
command Domain.Client.Clients.Commands.ReportLoyaltyCardAsStolen
Résultat void

Execute() public méthode

public Execute ( SetClientAsDeceased command ) : void
command Domain.Client.Clients.Commands.SetClientAsDeceased
Résultat void