RazorEngineHost.PostProcessGeneratedCode Method

Definition

Overloads

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

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

The code generator context.

Applies to

PostProcessGeneratedCode(CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod)

Caution

This method is obsolete, use the override which takes a CodeGeneratorContext instead

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
Public Overridable Sub PostProcessGeneratedCode (codeCompileUnit As CodeCompileUnit, generatedNamespace As CodeNamespace, generatedClass As CodeTypeDeclaration, executeMethod As CodeMemberMethod)

Parameters

codeCompileUnit
CodeCompileUnit

The code compile unit.

generatedNamespace
CodeNamespace

The generated namespace.

generatedClass
CodeTypeDeclaration

The generated class.

executeMethod
CodeMemberMethod

The execute method.

Attributes

Applies to