示例#1
0
        public override object Clone()
        {
            JobManagerService clone = new JobManagerService(ApplicationNameProvider, DataSettings);

            clone.CopyProperties(this);
            clone.CopyEventHandlers(this);
            return(clone);
        }
示例#2
0
 public Worker(string name, JobManagerService svc = null)
 {
     Name = name ?? System.Guid.NewGuid().ToString();
     JobConductorService = svc;
 }