RazorEngineHost.DecorateCodeGenerator 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 generator.

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

Syntax

'Declaration
Public Overridable Function DecorateCodeGenerator ( _
    incomingCodeGenerator As RazorCodeGenerator _
) As RazorCodeGenerator
'Usage
Dim instance As RazorEngineHost 
Dim incomingCodeGenerator As RazorCodeGenerator 
Dim returnValue As RazorCodeGenerator 

returnValue = instance.DecorateCodeGenerator(incomingCodeGenerator)
public virtual RazorCodeGenerator DecorateCodeGenerator(
    RazorCodeGenerator incomingCodeGenerator
)
public:
virtual RazorCodeGenerator^ DecorateCodeGenerator(
    RazorCodeGenerator^ incomingCodeGenerator
)
abstract DecorateCodeGenerator : 
        incomingCodeGenerator:RazorCodeGenerator -> RazorCodeGenerator  
override DecorateCodeGenerator : 
        incomingCodeGenerator:RazorCodeGenerator -> RazorCodeGenerator
public function DecorateCodeGenerator(
    incomingCodeGenerator : RazorCodeGenerator
) : RazorCodeGenerator

Parameters

Return Value

Type: System.Web.Razor.Generator.RazorCodeGenerator
The methods as language-specific Razor code generator.

See Also

Reference

RazorEngineHost Class

System.Web.Razor Namespace