Ejemplo n.º 1
0
        public ScriptRunner(Assembly asm, MakeSharpConfiguration config = null)
        {
            _asm          = asm;
            _configurator = config ?? Make.ConfiguratorInstance;
            FillOverrides();

            _context = _configurator.CreateContext(_initObject);
        }
Ejemplo n.º 2
0
        public ScriptRunner(Assembly asm,MakeSharpConfiguration config=null)
        {
            _asm = asm;
            _configurator = config??Make.ConfiguratorInstance;
            FillOverrides();

            _context = _configurator.CreateContext(_initObject);
        }
Ejemplo n.º 3
0
 public TasksList(MakeSharpConfiguration configuration)
 {
     _configuration = configuration;
 }
Ejemplo n.º 4
0
 public ScriptRunnerTests()
 {
     _config = Setup.Configuration();
     _config.TasksAre(t => t.DeclaringType == typeof (IntegrationTasks));
     _sut = new ScriptRunner(GetType().Assembly,_config);
 }
Ejemplo n.º 5
0
 public TasksList(MakeSharpConfiguration configuration)
 {
     _configuration = configuration;
 }
Ejemplo n.º 6
0
 public static MakeSharpConfiguration Configuration(Action<MakeSharpConfiguration> config=null)
 {
     var res=new MakeSharpConfiguration();
     config.IfNotNullDo(d=>d(res));
     return res;
 }