C# Класс ApplicationService.AccountApplicationService

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

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

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

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

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

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

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

public AccountApplicationService ( IAccountRepository accountRepository, IAccountNumberService accountNumberService, IUnitOfWork unitOfWork ) : System
accountRepository IAccountRepository
accountNumberService IAccountNumberService
unitOfWork IUnitOfWork
Результат System

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

public AccountApplicationService ( IAggregateRepository accountRepository, IAccountNumberService accountNumberService, IUnitOfWork unitOfWork ) : System
accountRepository IAggregateRepository
accountNumberService IAccountNumberService
unitOfWork IUnitOfWork
Результат System

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

public AccountApplicationService ( IAggregateRepository accountRepository, IAccountProjections accountProjections, IAccountNumberService accountNumberService, IUnitOfWork unitOfWork ) : System
accountRepository IAggregateRepository
accountProjections IAccountProjections
accountNumberService IAccountNumberService
unitOfWork IUnitOfWork
Результат System

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

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

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

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

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

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

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

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

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

public When ( ClientPassedAway @event ) : void
@event Domain.Client.Clients.Events.ClientPassedAway
Результат void