ChunkGeneratorContext Class¶
- Namespace
Microsoft.AspNetCore.Razor.Chunks.Generators
- Assemblies
- Microsoft.AspNetCore.Razor
Syntax¶
public class ChunkGeneratorContext
-
class
Microsoft.AspNetCore.Razor.Chunks.Generators.
ChunkGeneratorContext
Constructors¶
-
ChunkGeneratorContext
(Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext)¶ protected ChunkGeneratorContext(ChunkGeneratorContext context)
-
ChunkGeneratorContext
(Microsoft.AspNetCore.Razor.RazorEngineHost, System.String, System.String, System.String, System.Boolean) public ChunkGeneratorContext(RazorEngineHost host, string className, string rootNamespace, string sourceFile, bool shouldGenerateLinePragmas)
-
Properties¶
-
Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext.
ChunkTreeBuilder
¶ Return type: Microsoft.AspNetCore.Razor.Chunks.ChunkTreeBuilder public ChunkTreeBuilder ChunkTreeBuilder { get; set; }
-
Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext.
ClassName
¶ Return type: System.String public string ClassName { get; }
-
Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext.
Host
¶ Return type: Microsoft.AspNetCore.Razor.RazorEngineHost public RazorEngineHost Host { get; }
-
Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext.
RootNamespace
¶ Return type: System.String public string RootNamespace { get; }
-
Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext.
SourceFile
¶ Return type: System.String public string SourceFile { get; }
-