CodeGeneratorContext 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
內容物件,其中包含用來產生 Razor 頁面的資訊。
public ref class CodeGeneratorContext : Microsoft::AspNetCore::Razor::Chunks::Generators::ChunkGeneratorContext
public class CodeGeneratorContext : Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext
type CodeGeneratorContext = class
inherit ChunkGeneratorContext
Public Class CodeGeneratorContext
Inherits ChunkGeneratorContext
- 繼承
建構函式
| CodeGeneratorContext(ChunkGeneratorContext, ErrorSink) |
具現化 物件的新實例 CodeGeneratorContext 。 |
屬性
| Checksum |
取得或設定 |
| ChunkTreeBuilder |
內容物件,其中包含用來產生 Razor 頁面的資訊。 (繼承來源 ChunkGeneratorContext) |
| ClassName |
內容物件,其中包含用來產生 Razor 頁面的資訊。 (繼承來源 ChunkGeneratorContext) |
| ErrorSink |
用來匯總 RazorError s。 |
| ExpressionRenderingMode |
目前的 C# 轉譯模式。 |
| Host |
內容物件,其中包含用來產生 Razor 頁面的資訊。 (繼承來源 ChunkGeneratorContext) |
| RootNamespace |
內容物件,其中包含用來產生 Razor 頁面的資訊。 (繼承來源 ChunkGeneratorContext) |
| SourceFile |
內容物件,其中包含用來產生 Razor 頁面的資訊。 (繼承來源 ChunkGeneratorContext) |
| TargetWriterName |
要寫入資訊的 C# 寫入 Chunk 器。 |