/// <summary>
        /// Create a new run method manager object.
        /// </summary>
        /// <param name="runNextStep">
        /// Conditional indicating whether more work will remain after
        /// performing the work.
        /// </param>
        /// <returns>
        /// Returns the run method manager. Typically depends on the execution
        /// platform and environment.
        /// </returns>
        public static RunDispatcher Create(Func <bool> runNextStep)
        {
            RunDispatcher runMethodManager = new WebBrowserTick(runNextStep);

            return(runMethodManager);
        }
 /// <summary>
 /// Create a new run method manager object.
 /// </summary>
 /// <param name="runNextStep">
 /// Conditional indicating whether more work will remain after
 /// performing the work.
 /// </param>
 /// <returns>
 /// Returns the run method manager. Typically depends on the execution 
 /// platform and environment.
 /// </returns>
 public static RunDispatcher Create(Func<bool> runNextStep)
 {
   RunDispatcher runMethodManager = new WebBrowserTick(runNextStep);
   return runMethodManager;
 }