コード例 #1
0
        static App()
        {
            BootstrapLogger.SetRootGlobal();

            ExecutablePath = Assembly.GetExecutingAssembly().Location;
            RootContainer  = new SimpleContainer <PapercutUIModule>().Build();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: brunomoita/C_Sharp
        static void Main(string[] args)
        {
            BootstrapLogger.SetRootGlobal();

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