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