ModelChunkGenerator Class¶
- Namespace
Microsoft.AspNetCore.Razor.Generator
- Assemblies
- Microsoft.AspNetCore.Mvc.Razor.Host
Syntax¶
public class ModelChunkGenerator : SpanChunkGenerator, ISpanChunkGenerator
-
class
Microsoft.AspNetCore.Razor.Generator.
ModelChunkGenerator
Constructors¶
-
ModelChunkGenerator
(System.String)¶ public ModelChunkGenerator(string modelType)
-
Methods¶
-
Equals
(System.Object)¶ Return type: System.Boolean public override bool Equals(object obj)
-
GenerateChunk
(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span, Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext)¶ public override void GenerateChunk(Span 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.Generator.ModelChunkGenerator.
ModelType
¶ Return type: System.String public string ModelType { get; }
-