共用方式為


CSharpCodeGenerator.BuildAfterExecuteContent 方法

定義

提供進入點,在執行內容) 至產生的 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))

參數

writer
CSharpCodeWriter

CSharpCodeWriter 接收其他內容的 。

chunks
IList<Chunk>

所產生程式的 s 清單 Chunk

適用於