Share via


RazorEngineHost.PostProcessGeneratedCode Method (CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod)

Note: This API is now obsolete.

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

Returns this method to post all the processed generated code for the host.

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

Syntax

'Declaration
<ObsoleteAttribute("This method is obsolete, use the override which takes a CodeGeneratorContext instead")> _
Public Overridable Sub PostProcessGeneratedCode ( _
    codeCompileUnit As CodeCompileUnit, _
    generatedNamespace As CodeNamespace, _
    generatedClass As CodeTypeDeclaration, _
    executeMethod As CodeMemberMethod _
)
'Usage
Dim instance As RazorEngineHost 
Dim codeCompileUnit As CodeCompileUnit 
Dim generatedNamespace As CodeNamespace 
Dim generatedClass As CodeTypeDeclaration 
Dim executeMethod As CodeMemberMethod

instance.PostProcessGeneratedCode(codeCompileUnit, _
    generatedNamespace, generatedClass, _
    executeMethod)
[ObsoleteAttribute("This method is obsolete, use the override which takes a CodeGeneratorContext instead")]
public virtual void PostProcessGeneratedCode(
    CodeCompileUnit codeCompileUnit,
    CodeNamespace generatedNamespace,
    CodeTypeDeclaration generatedClass,
    CodeMemberMethod executeMethod
)
[ObsoleteAttribute(L"This method is obsolete, use the override which takes a CodeGeneratorContext instead")]
public:
virtual void PostProcessGeneratedCode(
    CodeCompileUnit^ codeCompileUnit, 
    CodeNamespace^ generatedNamespace, 
    CodeTypeDeclaration^ generatedClass, 
    CodeMemberMethod^ executeMethod
)
[<ObsoleteAttribute("This method is obsolete, use the override which takes a CodeGeneratorContext instead")>]
abstract PostProcessGeneratedCode : 
        codeCompileUnit:CodeCompileUnit * 
        generatedNamespace:CodeNamespace * 
        generatedClass:CodeTypeDeclaration * 
        executeMethod:CodeMemberMethod -> unit 
[<ObsoleteAttribute("This method is obsolete, use the override which takes a CodeGeneratorContext instead")>]
override PostProcessGeneratedCode : 
        codeCompileUnit:CodeCompileUnit * 
        generatedNamespace:CodeNamespace * 
        generatedClass:CodeTypeDeclaration * 
        executeMethod:CodeMemberMethod -> unit
public function PostProcessGeneratedCode(
    codeCompileUnit : CodeCompileUnit, 
    generatedNamespace : CodeNamespace, 
    generatedClass : CodeTypeDeclaration, 
    executeMethod : CodeMemberMethod
)

Parameters

See Also

Reference

RazorEngineHost Class

PostProcessGeneratedCode Overload

System.Web.Razor Namespace