public static void Start() { BootstrapLogger.Debug("Start initializer"); Init(); Schedule.Scheduler scheduler = container.GetInstance <Schedule.Scheduler>(); scheduler.Start(10); BootstrapLogger.Debug("End initializer"); }
public static void Stop() { BootstrapLogger.Debug("Stop Scheduler"); Schedule.Scheduler scheduler = container.GetInstance <Schedule.Scheduler>(); scheduler.Stop(); BootstrapLogger.Debug("Stop Local Cache"); StopLocalCache(); BootstrapLogger.Debug("Dispose Container"); container.Dispose(); }