Пример #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;
 }