public void Start() { Log.Information("Configuring Vecteur Service"); StartBus(); ApiKeyChecker.Key = VecteurSettings.Default.ApiKey; sftpServer = new SftpServer(); sftpServer.Start(); Log.Information("Vecteur service started"); }
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(); }