示例#1
0
 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());
     }
 }
示例#2
0
 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());
     }
 }
示例#3
0
 protected override void ExecuteCommand(Action <string> output, params string[] args)
 {
     Services.DownloadService s = new Services.DownloadService();
     s.StartSync(DateTime.Now);
 }
示例#4
0
 protected override void ExecuteCommand(Action<string> output, params string[] args)
 {
     Services.DownloadService s = new Services.DownloadService();
     s.StartSync(DateTime.Now);
 }