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)

[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
)

Parameters

codeCompileUnit
Type: System.CodeDom.CodeCompileUnit
The code compile unit.
generatedNamespace
Type: System.CodeDom.CodeNamespace
The generated namespace.
generatedClass
Type: System.CodeDom.CodeTypeDeclaration
The generated class.
executeMethod
Type: System.CodeDom.CodeMemberMethod
The execute method.
Show: