/// <summary> /// Builds the sequence of actions. /// </summary> /// <returns>A composite <see cref="IAction"/> which can be used to perform the actions.</returns> public IAction Build() { CompositeAction toReturn = this.action; this.action = new CompositeAction(); return(toReturn); }
public IAction Build() { CompositeAction result = this.action; this.action = new CompositeAction(); return(result); }
/// <summary> /// Builds the sequence of actions. /// </summary> /// <returns>A composite <see cref="IAction"/> which can be used to perform the actions.</returns> public IAction Build() { IAction toReturn = new BuiltAction(driver, actionBuilder, action); action = new CompositeAction(); actionBuilder = new ActionBuilder(); return(toReturn); }
public BuiltAction(IWebDriver driver, ActionBuilder actionBuilder, CompositeAction action) { this.driver = driver; this.actionBuilder = actionBuilder; this.action = action; }
/// <summary> /// Builds the sequence of actions. /// </summary> /// <returns>A composite <see cref="IAction"/> which can be used to perform the actions.</returns> public IAction Build() { CompositeAction toReturn = this.action; this.action = new CompositeAction(); return toReturn; }