コード例 #1
0
 public BridgeScriptHost(ICakeEngine engine, ICakeContext context, IExecutionStrategy strategy, ICakeReportPrinter reporter, ICakeArguments arguments)
     : base(engine, context)
 {
     Strategy  = strategy;
     Reporter  = reporter;
     Arguments = arguments;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuildScriptHost"/> class.
 /// </summary>
 /// <param name="engine">The engine.</param>
 /// <param name="executionStrategy">The execution strategy.</param>
 /// <param name="context">The context.</param>
 /// <param name="reportPrinter">The report printer.</param>
 /// <param name="log">The log.</param>
 public BuildScriptHost(
     ICakeEngine engine,
     IExecutionStrategy executionStrategy,
     ICakeContext context,
     ICakeReportPrinter reportPrinter,
     ICakeLog log) : base(engine, executionStrategy, context, reportPrinter, log)
 {
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuildScriptHost"/> class.
 /// </summary>
 /// <param name="engine">The engine.</param>
 /// <param name="context">The context.</param>
 /// <param name="reportPrinter">The report printer.</param>
 /// <param name="log">The log.</param>
 public BuildScriptHost(
     ICakeEngine engine,
     ICakeContext context,
     ICakeReportPrinter reportPrinter,
     ICakeLog log) : base(engine, context)
 {
     _reportPrinter = reportPrinter;
     _log           = log;
 }
コード例 #4
0
ファイル: RunCommand.cs プロジェクト: adamhathcock/frosting
 public RunCommand(
     IFrostingContext context,
     IExecutionStrategy strategy,
     ICakeReportPrinter printer)
 {
     _context  = context;
     _strategy = strategy;
     _printer  = printer;
 }
コード例 #5
0
 public BuildScriptHost(ICakeEngine engine, ICakeReportPrinter reportPrinter)
     : base(engine)
 {
     _reportPrinter = reportPrinter;
 }