public static EventsTypiconDBContext CreateWithEvents() { var container = new SIContainer(withEvents: true); var dispatcher = container.GetInstance <IEventDispatcher>(); return(new EventsTypiconDBContext(dispatcher, GetOptions())); }
public static IQueryProcessor Create() { var container = new SIContainer(); var processor = container.GetInstance <IQueryProcessor>(); return(processor); }