public AsyncWorker(AsyncWorkerJob workerJob) { if (workerJob == null) { throw new ArgumentNullException("workerJob"); } _workerJob = workerJob; }
public AsyncWorker(AsyncWorkerJob workerJob, string workerName = null) { if (workerJob == null) { throw new ArgumentNullException("workerJob"); } _workerJob = workerJob; Name = workerName; }
public AsyncWorker(AsyncWorkerJob workerJob) { if (workerJob == null) throw new ArgumentNullException("workerJob"); _workerJob = workerJob; }
public AsyncWorker(AsyncWorkerJob workerJob, string workerName = null) { if (workerJob == null) throw new ArgumentNullException("workerJob"); _workerJob = workerJob; Name = workerName; }