static App() { BootstrapLogger.SetRootGlobal(); ExecutablePath = Assembly.GetExecutingAssembly().Location; RootContainer = new SimpleContainer <PapercutUIModule>().Build(); }
static void Main(string[] args) { BootstrapLogger.SetRootGlobal(); using (_container = new SimpleContainer <PapercutServiceModule>().Build()) { HostFactory.Run(ConfigureHost); } }