Exemple #1
0
        private void Complete(DownloadStep s)
        {
            SetStep(s);
            Threading.InvokeLater(() =>
                                  {
                                      Cleanup();

                                      if (log.IsLoggable(LogLevel.Log) && filesDownloaded.Count > 0)
                                      {
                                          StringBuilder str = new StringBuilder(1024);
                                          str.Append("ChangeSet\n");
                                          foreach (string path in filesDownloaded)
                                          {
                                              str.Append("\t").Append(path).Append("\n");
                                          }
                                          log.Debug(str.ToString());
                                      }
                                      ActionEx.CallAfterRelease(ref onComplete, GetException());
                                  });
        }
 private void Complete()
 {
     enabled = false;
     ActionEx.CallAfterRelease(ref completeCallback);
 }