ToScriptFragment() публичный Метод

public ToScriptFragment ( ) : String
Результат String
Пример #1
0
        public void CanImplicitlyConvertToString()
        {
            using (var tempFile = new TempFile())
            {
                var scriptInclude = new ScriptInclude(tempFile.FileName);

                String script = scriptInclude;

                Assert.Equal(scriptInclude.ToScriptFragment(), script);
            }
        }
Пример #2
0
        public void AppendFile(ScriptInclude scriptInclude)
        {
            Verify.NotNull(scriptInclude, "scriptInclude");

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