コード例 #1
0
ファイル: TakeScreenshot.cs プロジェクト: lanicon/tranquire
 public TakeScreenshotQuestion(
     IQuestion <TAbility, TAnswer> question,
     TakeScreenshot takeScreenshot)
 {
     _question       = question;
     _takeScreenshot = takeScreenshot;
 }
コード例 #2
0
ファイル: TakeScreenshot.cs プロジェクト: lanicon/tranquire
 public TakeScreenshotActionUnit(
     IAction <TResult> action,
     TakeScreenshot takeScreenshot)
 {
     _action         = action;
     _takeScreenshot = takeScreenshot;
 }
コード例 #3
0
ファイル: TakeScreenshot.cs プロジェクト: lanicon/tranquire
 public TakeScreenshotAction(
     IAction <TAbility, TResult> action,
     TakeScreenshot takeScreenshot)
 {
     _action         = action;
     _takeScreenshot = takeScreenshot;
 }
コード例 #4
0
ファイル: TakeScreenshot.cs プロジェクト: lanicon/tranquire
 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
                ));
 }