public static void Run(string[] args, IServiceHostFactory factory) { var a = new App(args, factory); a.Start(); }