Udostępnij za pośrednictwem


CSharpCodeGenerator.BuildAfterExecuteContent Metoda

Definicja

Udostępnia punkt wejścia do dołączania kodu (po wykonaniu zawartości) do wygenerowanej klasy Razor.

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

Parametry

writer
CSharpCodeWriter

Element CSharpCodeWriter do odbierania dodatkowej zawartości.

chunks
IList<Chunk>

Lista Chunks dla wygenerowanego programu.

Dotyczy