public MyThread(int id, int workLeft, string priority, MyThreadTypes threadType) { _logger.Trace($"Creating Thread(id = {id}, startingWork = {workLeft}, priority = {priority}, threadType = {threadType.ToString()})"); this.Id = id; this.WorkLeft = workLeft; this.Priority = priority; this.Added = DateTime.Now; this.ThreadType = threadType; }
public MyThread(int id, int workLeft, string priority) { _logger.Trace($"Creating Thread(id = {id}, startingWork = {workLeft}, priority = {priority}, threadType = {DEF.ToString()})"); Id = id; WorkLeft = workLeft; Priority = priority; this.Added = DateTime.Now; this.ThreadType = DEF; }