public TakeScreenshotQuestion( IQuestion <TAbility, TAnswer> question, TakeScreenshot takeScreenshot) { _question = question; _takeScreenshot = takeScreenshot; }
public TakeScreenshotActionUnit( IAction <TResult> action, TakeScreenshot takeScreenshot) { _action = action; _takeScreenshot = takeScreenshot; }
public TakeScreenshotAction( IAction <TAbility, TResult> action, TakeScreenshot takeScreenshot) { _action = action; _takeScreenshot = takeScreenshot; }
private static TResult ExecuteTakeScreenshot <TResult, TAbility>( TAbility ability, IActor actor, Func <TResult> execute, TakeScreenshot takeScreenshot) { return(takeScreenshot.TakeScreenshotStrategy.ExecuteTakeScreenshot( ability, actor, execute, takeScreenshot.NextScreenshotName, takeScreenshot.ScreenshotObserver )); }