Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
 /// <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;
 }