public override object Clone() { JobManagerService clone = new JobManagerService(ApplicationNameProvider, DataSettings); clone.CopyProperties(this); clone.CopyEventHandlers(this); return(clone); }
public Worker(string name, JobManagerService svc = null) { Name = name ?? System.Guid.NewGuid().ToString(); JobConductorService = svc; }