Example #1
0
 public CancelledState(
     IOffhireStateFactory offhireStateFactory,
     IApprovableOffhireDomainService approvableDomainService)
     : base(offhireStateFactory, States.Cancelled, approvableDomainService)
 {
 }
Example #2
0
 public OpenState(
     IOffhireStateFactory offhireStateFactory,
     IApprovableOffhireDomainService approvableDomainService)
     : base(offhireStateFactory, States.Open, approvableDomainService)
 {
 }
Example #3
0
 protected OffhireState(IOffhireStateFactory offhireStateFactory, States state, IApprovableOffhireDomainService approvableDomainService)
 {
     this.OffhireStateFactory = offhireStateFactory;
     this.State = state;
     this.ApprovableDomainService = approvableDomainService;
 }
Example #4
0
 //================================================================================
 public void Configure(IOffhireStateFactory offhireStateFactory)
 {
     this.EntityState = offhireStateFactory.CreateState(this.State);
 }
 public SubmitRejectedState(
     IOffhireStateFactory offhireStateFactory,
     IApprovableOffhireDomainService approvableDomainService)
     : base(offhireStateFactory, States.SubmitRejected, approvableDomainService)
 {
 }