예제 #1
0
 public ScriptBuilder(ProcessBuilder processBuilder, TflScript script) {
     _processBuilder = processBuilder;
     _script = script;
 }
예제 #2
0
 public ScriptBuilder Script(string name) {
     var script = new TflScript().WithDefaults();
     script.Name = name;
     _process.Scripts.Add(script);
     return new ScriptBuilder(this, script);
 }
예제 #3
0
 public ProcessBuilder Script(string name, string fileName) {
     var script = new TflScript {
         Name = name,
         File = fileName
     }.WithDefaults();
     _process.Scripts.Add(script);
     return this;
 }
예제 #4
0
 public ScriptBuilder(ProcessBuilder processBuilder, TflScript script)
 {
     _processBuilder = processBuilder;
     _script         = script;
 }