public ScriptBuilder(ProcessBuilder processBuilder, TflScript script) { _processBuilder = processBuilder; _script = script; }
public ScriptBuilder Script(string name) { var script = new TflScript().WithDefaults(); script.Name = name; _process.Scripts.Add(script); return new ScriptBuilder(this, script); }
public ProcessBuilder Script(string name, string fileName) { var script = new TflScript { Name = name, File = fileName }.WithDefaults(); _process.Scripts.Add(script); return this; }