C# Класс RazorEngine.Compilation.CSharpRazorCodeGenerator

Defines a code generator that supports C# syntax.
Наследование: System.Web.Razor.Generator.CSharpRazorCodeGenerator
Показать файл Открыть проект

Открытые методы

Метод Описание
CSharpRazorCodeGenerator ( string className, string rootNamespaceName, string sourceFileName, RazorEngineHost host ) : System.Web.Razor

Initialises a new instance of CSharpRazorCodeGenerator.

VisitError ( RazorError err ) : void

Visits an error generated through parsing.

Описание методов

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

Initialises a new instance of CSharpRazorCodeGenerator.
public CSharpRazorCodeGenerator ( string className, string rootNamespaceName, string sourceFileName, RazorEngineHost host ) : System.Web.Razor
className string The name of the generated class.
rootNamespaceName string The namespace of the generated class.
sourceFileName string The source file filename.
host RazorEngineHost The instance.
Результат System.Web.Razor

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

Visits an error generated through parsing.
public VisitError ( RazorError err ) : void
err RazorError The error that was generated.
Результат void