public static void Initialize <T>() where T : class, IStartup, new() { T startup = new T(); var container = IoCFactory.Create(); startup.ConfigureServices(container); }
static ServiceLocator() { container = IoCFactory.Create(); }