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
- 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.