Esempio n. 1
0
 public FrostingRunner(BuildScriptHost <IFrostingContext> host,
                       ICakeEngine engine, IFrostingContext context, ICakeLog log,
                       IEnumerable <IFrostingTask> tasks,
                       IFrostingSetup setup         = null, IFrostingTeardown teardown = null,
                       IFrostingTaskSetup taskSetup = null, IFrostingTaskTeardown taskTeardown = null)
     : base(host, engine, context, log, tasks, setup, teardown, taskSetup, taskTeardown)
 {
 }
Esempio n. 2
0
 protected FrostingEngine(
     THost host,
     ICakeEngine engine, IFrostingContext context, ICakeLog log,
     IEnumerable <IFrostingTask> tasks,
     IFrostingSetup setup               = null,
     IFrostingTeardown teardown         = null,
     IFrostingTaskSetup taskSetup       = null,
     IFrostingTaskTeardown taskTeardown = null)
 {
     _host         = host;
     _engine       = engine;
     _context      = context;
     _log          = log;
     _setup        = setup;
     _teardown     = teardown;
     _taskSetup    = taskSetup;
     _taskTeardown = taskTeardown;
     _tasks        = new List <IFrostingTask>(tasks ?? Array.Empty <IFrostingTask>());
 }