C# 클래스 ApplicationService.AccountApplicationService

상속: IAccountApplicationService
파일 보기 프로젝트 열기: AdrianFreemantle/DDD 1 사용 예제들

공개 메소드들

메소드 설명
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