protected void SaveTCL(TCLFile tcl) { if (tcl == null) { throw new NullReferenceException(nameof(tcl)); } File.WriteAllText(Path.Combine(TestOutputFolder, $"script.tcl"), tcl.ToString()); }
public void SaveTCL(TCLFile tcl, string scriptName = "script.tcl") { if (tcl == null) { throw new NullReferenceException(nameof(tcl)); } File.WriteAllText(Path.Combine(_vivadoProjectLocation, scriptName), tcl.ToString()); }