//constructor public Process(string name, ILogger logger) { View = Common.DefaultValue; Star = Common.DefaultValue; Connections = new Connections(); PipelineThreading = PipelineThreading.MultiThreaded; Enabled = true; TransformOperations = new List <IOperation>(); Parallel = true; LogRows = 10000; Complete = false; Logger = logger; Name = name; DataSets = new Dictionary <string, List <Row> >(); Parameters = new Parameters.Parameters(new DefaultFactory(logger)); Runner = new NullRunner(); }
public static BuildRunnerBase Create(FileInfo fileInfo, ILogsMessage logger, CommandLineOptions options) { BuildRunnerBase runner; if (Utils.NantExtensions.Contains(fileInfo.Extension)) { runner = new NAntBuildRunner(fileInfo, logger, options); } else if (Utils.MsbuildExtensions.Contains(fileInfo.Extension) || fileInfo.Extension.EndsWith("proj")) { runner = new MSBuildRunner(fileInfo, logger, options); } else { runner = new NullRunner(fileInfo, logger, options); } return(runner); }