C# 클래스 RazorEngine.Compilation.CSharpRazorCodeGenerator

Defines a code generator that supports C# syntax.
상속: System.Web.Razor.Generator.CSharpRazorCodeGenerator
파일 보기 프로젝트 열기: tqc/RazorEngine

공개 메소드들

메소드 설명
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