Example #1
0
        /// <summary>
        /// Sets the current <see cref="JobActivator"/> instance that will
        /// be used to activate jobs.
        /// </summary>
        /// <param name="activator"></param>
        public static void SetCurrent(JobActivator activator)
        {
            if (activator == null) throw new ArgumentNullException("activator");

            _current = activator;
        }
 public void UseActivator(JobActivator activator)
 {
     Activator = activator;
 }