RazorEngine


CSharpRazorCodeGenerator

Defined in RazorEngine.dll.

Defines a code generator that supports C# syntax.

Constructors

ConstructorDescription
new(...)
Signature: (className:string * rootNamespaceName:string * sourceFileName:string * host:RazorEngineHost * strictMode:bool) -> unit

Initializes a new instance of the CSharpRazorCodeGenerator class.

Instance members

Instance memberDescription
StrictMode()
Signature: unit -> unit

Gets whether the code generator is running in strict mode.

VisitError(err)
Signature: err:RazorError -> unit
Modifiers: abstract

Visits an error generated through parsing.

Fork me on GitHub