public HandlerSubscriberFactory(ISubscriberWorkflowFactory <T> subscriberWorkflow)
 {
     workflow = subscriberWorkflow.GetWorkflow() as Workflow <HandleContext>;
 }
Example #2
0
 public EventStoreIndexSubscriberFactory(ISubscriberWorkflowFactory <TIndex> subscriberWorkflow, TypeContainer <IEvent> allEventTypesInTheSystem)
 {
     workflow = subscriberWorkflow.GetWorkflow() as Workflow <HandleContext>;
     this.allEventTypesInTheSystem = allEventTypesInTheSystem;
 }