コード例 #1
0
        public void Start()
        {
            Log.Information("Configuring Vecteur Service");

            StartBus();

            ApiKeyChecker.Key = VecteurSettings.Default.ApiKey;
            sftpServer        = new SftpServer();
            sftpServer.Start();
            Log.Information("Vecteur service started");
        }
コード例 #2
0
        public void Start()
        {
            Log.Information("Configuring Vecteur Service");

            StartBus();

            ApiKeyChecker.Key = VecteurSettings.Default.ApiKey;
            sftpServer        = new SftpServer();
            sftpServer.Start();
            Log.Information("Vecteur service started");


            Startup.Kernel.Bind <IBus>().ToMethod(context => Bus).InSingletonScope();
            Startup.Kernel.Bind <IBusControl>().ToMethod(context => Bus).InSingletonScope();
        }