static App()
        {
            BootstrapLogger.SetRootGlobal();

            ExecutablePath = Assembly.GetExecutingAssembly().Location;
            RootContainer  = new SimpleContainer <PapercutUIModule>().Build();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            BootstrapLogger.SetRootGlobal();

            using (_container = new SimpleContainer <PapercutServiceModule>().Build())
            {
                HostFactory.Run(ConfigureHost);
            }
        }