예제 #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);
 }