protected ThreadWorkerTaskBase(Enum taskID, ThreadWorkerProgressHandler progressHandler, object[] args) { this.TaskID = taskID; this.Arguments = args; this.ProgressHandler = progressHandler; }
/// <summary> /// Initializes a new instance of the <see cref="ThreadWorkerTask"/> class. /// </summary> /// <param name="task">The task.</param> /// <param name="progressHandler">The progress handler.</param> /// <param name="application">The RssBanditApplication.</param> /// <param name="args">The ask args.</param> public ThreadWorkerTask(ThreadWorker.Task task, ThreadWorkerProgressHandler progressHandler, RssBanditApplication application, params object[] args) : base(task, progressHandler, args) { this.app = application; }