static void DownServiceTest() { try { Services.DownloadService s = new Services.DownloadService(); //s.StartAsync(DateTime.Now); s.StartSync(DateTime.Now); } catch (Exception ex) { Logging.Logger.Instance.Write(ex.ToString()); } }
protected override void ExecuteCommand(Action <string> output, params string[] args) { Services.DownloadService s = new Services.DownloadService(); s.StartSync(DateTime.Now); }
protected override void ExecuteCommand(Action<string> output, params string[] args) { Services.DownloadService s = new Services.DownloadService(); s.StartSync(DateTime.Now); }