CodeGeneratorContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Context object with information used to generate a Razor page.
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
- Inheritance
Constructors
CodeGeneratorContext(ChunkGeneratorContext, ErrorSink) |
Instantiates a new instance of the CodeGeneratorContext object. |
Properties
Checksum |
Gets or sets the |
ChunkTreeBuilder | (Inherited from ChunkGeneratorContext) |
ClassName | (Inherited from ChunkGeneratorContext) |
ErrorSink |
Used to aggregate RazorErrors. |
ExpressionRenderingMode |
The current C# rendering mode. |
Host | (Inherited from ChunkGeneratorContext) |
RootNamespace | (Inherited from ChunkGeneratorContext) |
SourceFile | (Inherited from ChunkGeneratorContext) |
TargetWriterName |
The C# writer to write Chunk information to. |