CSharpCodeGenerator.BuildAfterExecuteContent Méthode

Définition

Fournit un point d’entrée pour ajouter du code (après exécution du contenu) à une classe Razor générée.

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

Paramètres

writer
CSharpCodeWriter

pour CSharpCodeWriter recevoir le contenu supplémentaire.

chunks
IList<Chunk>

Liste de Chunks pour le programme généré.

S’applique à