RazorEngineHost.PostProcessGeneratedCode RazorEngineHost.PostProcessGeneratedCode RazorEngineHost.PostProcessGeneratedCode Method

Definition

Overloads

PostProcessGeneratedCode(CodeGeneratorContext) PostProcessGeneratedCode(CodeGeneratorContext) PostProcessGeneratedCode(CodeGeneratorContext)

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.

PostProcessGeneratedCode(CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod) PostProcessGeneratedCode(CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod)

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.

PostProcessGeneratedCode(CodeGeneratorContext) PostProcessGeneratedCode(CodeGeneratorContext) PostProcessGeneratedCode(CodeGeneratorContext)

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.

public virtual void PostProcessGeneratedCode (System.Web.Razor.Generator.CodeGeneratorContext context);
abstract member PostProcessGeneratedCode : System.Web.Razor.Generator.CodeGeneratorContext -> unit
override this.PostProcessGeneratedCode : System.Web.Razor.Generator.CodeGeneratorContext -> unit
Public Overridable Sub PostProcessGeneratedCode (context As CodeGeneratorContext)
Parameters
context
CodeGeneratorContext CodeGeneratorContext CodeGeneratorContext

The code generator context.

PostProcessGeneratedCode(CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod) PostProcessGeneratedCode(CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod)

Warning

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.

[System.Obsolete("This method is obsolete, use the override which takes a CodeGeneratorContext instead")]
public virtual void PostProcessGeneratedCode (System.CodeDom.CodeCompileUnit codeCompileUnit, System.CodeDom.CodeNamespace generatedNamespace, System.CodeDom.CodeTypeDeclaration generatedClass, System.CodeDom.CodeMemberMethod executeMethod);
abstract member PostProcessGeneratedCode : System.CodeDom.CodeCompileUnit * System.CodeDom.CodeNamespace * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod -> unit
override this.PostProcessGeneratedCode : System.CodeDom.CodeCompileUnit * System.CodeDom.CodeNamespace * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod -> unit
Parameters
codeCompileUnit
CodeCompileUnit CodeCompileUnit CodeCompileUnit

The code compile unit.

generatedNamespace
CodeNamespace CodeNamespace CodeNamespace

The generated namespace.

generatedClass
CodeTypeDeclaration CodeTypeDeclaration CodeTypeDeclaration

The generated class.

executeMethod
CodeMemberMethod CodeMemberMethod CodeMemberMethod

The execute method.

Applies to