C# Класс ApplicationService.ClientApplicationService

Наследование: IClientApplicationService
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
HandleException ( Exception ex ) : void
SubsribeToEvents ( ) : void

Описание методов

ClientApplicationService() публичный Метод

public ClientApplicationService ( IAggregateRepository clientRepository, IClientProjections clientProjections, IUnitOfWork unitOfWork ) : System
clientRepository IAggregateRepository
clientProjections IClientProjections
unitOfWork IUnitOfWork
Результат System

ClientApplicationService() публичный Метод

public ClientApplicationService ( IAggregateRepository clientRepository, IUnitOfWork unitOfWork ) : System
clientRepository IAggregateRepository
unitOfWork IUnitOfWork
Результат System

Execute() публичный Метод

public Execute ( CancelLoyaltyCard command ) : void
command Domain.Client.Clients.Commands.CancelLoyaltyCard
Результат void

Execute() публичный Метод

public Execute ( CorrectDateOfBirth command ) : void
command Domain.Client.Clients.Commands.CorrectDateOfBirth
Результат void

Execute() публичный Метод

public Execute ( IssueLoyaltyCard command ) : void
command Domain.Client.Clients.Commands.IssueLoyaltyCard
Результат void

Execute() публичный Метод

public Execute ( RegisterClient command ) : void
command Domain.Client.Clients.Commands.RegisterClient
Результат void

Execute() публичный Метод

public Execute ( ReportLoyaltyCardAsStolen command ) : void
command Domain.Client.Clients.Commands.ReportLoyaltyCardAsStolen
Результат void

Execute() публичный Метод

public Execute ( SetClientAsDeceased command ) : void
command Domain.Client.Clients.Commands.SetClientAsDeceased
Результат void