RazorChunkGenerator Class¶
- Namespace
Microsoft.AspNetCore.Razor.Chunks.Generators
- Assemblies
- Microsoft.AspNetCore.Razor
Syntax¶
public class RazorChunkGenerator : ParserVisitor
-
class
Microsoft.AspNetCore.Razor.Chunks.Generators.
RazorChunkGenerator
Constructors¶
-
RazorChunkGenerator
(System.String, System.String, System.String, Microsoft.AspNetCore.Razor.RazorEngineHost)¶ public RazorChunkGenerator(string className, string rootNamespaceName, string sourceFileName, RazorEngineHost host)
-
Properties¶
-
Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator.
ClassName
¶ Return type: System.String public string ClassName { get; }
-
Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator.
Context
¶ Return type: Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext public ChunkGeneratorContext Context { get; }
-
Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator.
DesignTimeMode
¶ Return type: System.Boolean public bool DesignTimeMode { get; set; }
-
Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator.
GenerateLinePragmas
¶ Return type: System.Boolean public bool GenerateLinePragmas { get; set; }
-
Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator.
Host
¶ Return type: Microsoft.AspNetCore.Razor.RazorEngineHost public RazorEngineHost Host { get; }
-
Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator.
RootNamespaceName
¶ Return type: System.String public string RootNamespaceName { get; }
-
Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator.
SourceFileName
¶ Return type: System.String public string SourceFileName { get; }
-
Methods¶
-
Initialize
(Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext)¶ protected virtual void Initialize(ChunkGeneratorContext context)
-
VisitEndBlock
(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block)¶ public override void VisitEndBlock(Block block)
-
VisitSpan
(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span)¶ public override void VisitSpan(Span span)
-
VisitStartBlock
(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block)¶ public override void VisitStartBlock(Block block)
-