Bagikan melalui


CSharpCodeGenerator.BuildAfterExecuteContent Metode

Definisi

Menyediakan titik masuk untuk menambahkan kode (setelah menjalankan konten) ke kelas Razor yang dihasilkan.

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

Parameter

writer
CSharpCodeWriter

CSharpCodeWriter untuk menerima konten tambahan.

chunks
IList<Chunk>

Daftar Chunks untuk program yang dihasilkan.

Berlaku untuk