示例#1
0
 public static void Initialize(JobManagerSettings settings, List <JobType> additionalJobTypes = null)
 {
     JobTypes = new List <JobType>();
     if (additionalJobTypes != null)
     {
         foreach (JobType jt in additionalJobTypes)
         {
             JobTypes.Add(jt);
         }
     }
     Current = new JobManager(settings);
     JobPool.Initialize();
 }
示例#2
0
 public static void Initialize()
 {
     Current = new JobPool();
 }