public void CanImplicitlyConvertToString() { using (var tempFile = new TempFile()) { var scriptInclude = new ScriptInclude(tempFile.FileName); String script = scriptInclude; Assert.Equal(scriptInclude.ToScriptFragment(), script); } }
public void AppendFile(ScriptInclude scriptInclude) { Verify.NotNull(scriptInclude, "scriptInclude"); _script.AppendLine(scriptInclude.ToScriptFragment()); }