Export (0) Print
Expand All

RazorEngineHost.DecorateCodeParser Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns the methods as language-specific Razor code parser using the specified language parser.

Namespace:  System.Web.Razor
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

public virtual ParserBase DecorateCodeParser(
	ParserBase incomingCodeParser
)

Parameters

incomingCodeParser
Type: System.Web.Razor.Parser.ParserBase
The C# or Visual Basic code parser.

Return Value

Type: System.Web.Razor.Parser.ParserBase
The methods as language-specific Razor code parser using the specified language parser.
Show:
© 2015 Microsoft