Exemplo n.º 1
0
        public void CanImplicitlyConvertToString()
        {
            using (var tempFile = new TempFile())
            {
                var scriptInclude = new ScriptInclude(tempFile.FileName);

                String script = scriptInclude;

                Assert.Equal(scriptInclude.ToScriptFragment(), script);
            }
        }
Exemplo n.º 2
0
        public void AppendFile(ScriptInclude scriptInclude)
        {
            Verify.NotNull(scriptInclude, "scriptInclude");

            _script.AppendLine(scriptInclude.ToScriptFragment());
        }