SectionChunkGenerator Class¶
- Namespace
Microsoft.AspNetCore.Razor.Chunks.Generators
- Assemblies
- Microsoft.AspNetCore.Razor
Syntax¶
public class SectionChunkGenerator : ParentChunkGenerator, IParentChunkGenerator
-
class
Microsoft.AspNetCore.Razor.Chunks.Generators.
SectionChunkGenerator
Constructors¶
-
SectionChunkGenerator
(System.String)¶ public SectionChunkGenerator(string sectionName)
-
Methods¶
-
Equals
(System.Object)¶ Return type: System.Boolean public override bool Equals(object obj)
-
GenerateEndParentChunk
(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block, Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext)¶ public override void GenerateEndParentChunk(Block target, ChunkGeneratorContext context)
-
GenerateStartParentChunk
(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block, Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext)¶ public override void GenerateStartParentChunk(Block target, ChunkGeneratorContext context)
-
GetHashCode
()¶ Return type: System.Int32 public override int GetHashCode()
-
ToString
()¶ Return type: System.String public override string ToString()
-
Properties¶
-
Microsoft.AspNetCore.Razor.Chunks.Generators.SectionChunkGenerator.
SectionName
¶ Return type: System.String public string SectionName { get; }
-