Beispiel #1
0
 public TaskResult(ITask objTask, ITaskStats objStats, TaskResultType enuResult, string strDetails)
     : base()
 {
     Task    = objTask;
     Stats   = objStats;
     Result  = enuResult;
     Details = strDetails;
 }
Beispiel #2
0
        private void objDownloadJob_TaskProgressChanged(ITaskStats objTaskStats)
        {
            IDownloadStats objStats = (IDownloadStats)objTaskStats;

            _objCurrentDownloadStats = (DownloadStats)objStats;
        }
Beispiel #3
0
        private void objUploadJob_TaskProgressChanged(ITaskStats objTaskStats)
        {
            IUploadStats objStats = (IUploadStats)objTaskStats;

            _objCurrentUploadStats = (UploadStats)objStats;
        }
Beispiel #4
0
 public TaskResult(ITask objTask, ITaskStats objStats, TaskResultType enuResult)
     : this(objTask, objStats, enuResult, string.Empty)
 {
 }