Compartilhar via


CSharpCodeGenerator.BuildAfterExecuteContent Método

Definição

Fornece um ponto de entrada para acrescentar código (após executar conteúdo) a uma classe Razor gerada.

protected:
 virtual void BuildAfterExecuteContent(Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ writer, System::Collections::Generic::IList<Microsoft::AspNetCore::Razor::Chunks::Chunk ^> ^ chunks);
protected virtual void BuildAfterExecuteContent (Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter writer, System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.Chunks.Chunk> chunks);
abstract member BuildAfterExecuteContent : Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter * System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.Chunks.Chunk> -> unit
override this.BuildAfterExecuteContent : Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter * System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.Chunks.Chunk> -> unit
Protected Overridable Sub BuildAfterExecuteContent (writer As CSharpCodeWriter, chunks As IList(Of Chunk))

Parâmetros

writer
CSharpCodeWriter

O CSharpCodeWriter para receber o conteúdo adicional.

chunks
IList<Chunk>

A lista de Chunks para o programa gerado.

Aplica-se a