Пример #1
0
 public SubmittedState(
     IScrapStateFactory scrapStateFactory,
     IApprovableScrapDomainService approvableDomainService)
     : base(scrapStateFactory, States.Submitted, approvableDomainService)
 {
 }
Пример #2
0
 protected ScrapState(IScrapStateFactory scrapStateFactory, States state, IApprovableScrapDomainService approvableDomainService)
 {
     this.ScrapStateFactory = scrapStateFactory;
     this.State = state;
     this.ApprovableDomainService = approvableDomainService;
 }
Пример #3
0
 public ScrapStateFactory(IApprovableScrapDomainService approvableDomainService)
 {
     this.approvableDomainService = approvableDomainService;
 }
Пример #4
0
 public CancelledState(
     IScrapStateFactory scrapStateFactory,
     IApprovableScrapDomainService approvableDomainService)
     : base(scrapStateFactory, States.Cancelled, approvableDomainService)
 {
 }
Пример #5
0
 public OpenState(
     IScrapStateFactory scrapStateFactory,
     IApprovableScrapDomainService approvableDomainService)
     : base(scrapStateFactory, States.Open, approvableDomainService)
 {
 }