Esempio n. 1
0
        public void CompilesAndReturnsRuntimeGeneratedTemplateClass()
        {
            const string TemplateCode = @"class RuntimeGeneratedTemplateClass { }";

            var compiler = new TemplateCompiler();
            Type result = compiler.CompileTemplate(TemplateCode);

            Assert.IsNotNull(result, "Result type is null");
        }