コード例 #1
0
        public void Start()
        {
            _logger.LogInfo("Configuring system tray icon");
            var applicationContext = new SystemTrayApplicationContext(_nancyHostProvider.NancyHost, _nancyBaseUriProvider.Url);
            applicationContext.Initialize();

            _logger.LogInfo("Starting chooie (entering main loop)");
            Application.Run(applicationContext);
        }
コード例 #2
0
        public void Start()
        {
            _logger.LogInfo("Configuring system tray icon");
            var applicationContext = new SystemTrayApplicationContext(_nancyHostProvider.NancyHost, _nancyBaseUriProvider.Url);

            applicationContext.Initialize();

            _logger.LogInfo("Starting chooie (entering main loop)");
            Application.Run(applicationContext);
        }