public TaskResult(ITask objTask, ITaskStats objStats, TaskResultType enuResult, string strDetails) : base() { Task = objTask; Stats = objStats; Result = enuResult; Details = strDetails; }
private void objDownloadJob_TaskProgressChanged(ITaskStats objTaskStats) { IDownloadStats objStats = (IDownloadStats)objTaskStats; _objCurrentDownloadStats = (DownloadStats)objStats; }
private void objUploadJob_TaskProgressChanged(ITaskStats objTaskStats) { IUploadStats objStats = (IUploadStats)objTaskStats; _objCurrentUploadStats = (UploadStats)objStats; }
public TaskResult(ITask objTask, ITaskStats objStats, TaskResultType enuResult) : this(objTask, objStats, enuResult, string.Empty) { }