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