Ejemplo n.º 1
0
 public FluentContext(ICakeContext cakeContext, TaskDelegate task, SetupDelegate setup, TeardownDelegate teardown, TaskSetupDelegate taskSetup, TaskTeardownDelegate taskTeardown)
 {
     CakeContext  = cakeContext;
     Task         = task;
     Setup        = setup;
     Teardown     = teardown;
     TaskSetup    = taskSetup;
     TaskTeardown = taskTeardown;
 }
Ejemplo n.º 2
0
        public static ConfigurationBuilder CreateConfigurationBuilder(this ICakeContext context, TaskDelegate task, SetupDelegate setup, TeardownDelegate teardown, TaskSetupDelegate taskSetup, TaskTeardownDelegate taskTeardown)
        {
            IFluentContext fluentContext = new FluentContext(context, task, setup, teardown, taskSetup, taskTeardown);

            return(new ConfigurationBuilder(fluentContext));
        }