RazorEngine


RazorEngineHost

Defined in RazorEngine.dll.

Defines the custom razor engine host.

Constructors

ConstructorDescription
new(language, markupParserFactory)
Signature: (language:RazorCodeLanguage * markupParserFactory:Func<ParserBase>) -> unit

Initialises a new instance of RazorEngineHost.

Instance members

Instance memberDescription
DecorateCodeParser(incomingCodeParser)
Signature: incomingCodeParser:ParserBase -> ParserBase
Modifiers: abstract

Decorates the code parser.

Returns: The decorated parser.

DefaultBaseTemplateType()
Signature: unit -> unit

Gets or sets the default template type.

DefaultModelType()
Signature: unit -> unit

Gets or sets the default model type.

Fork me on GitHub