C# 클래스 ApplicationService.ClientApplicationService

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

공개 메소드들

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