ModelChunkGenerator Class

Syntax

public class ModelChunkGenerator : SpanChunkGenerator

GitHub

View on GitHub

class Microsoft.AspNet.Razor.Generator.ModelChunkGenerator

Constructors

ModelChunkGenerator(System.String, System.String)
Arguments:
  • baseType (System.String) –
  • modelType (System.String) –
public ModelChunkGenerator(string baseType, string modelType)

Properties

BaseType()
Return type:System.String
public string BaseType { get; }
ModelType()
Return type:System.String
public string ModelType { get; }

Methods

Equals(System.Object)
Arguments:
  • obj (System.Object) –
Return type:

System.Boolean

public override bool Equals(object obj)
GenerateChunk(Span, ChunkGeneratorContext)
Arguments:
  • target (Span) –
  • context (ChunkGeneratorContext) –
public override void GenerateChunk(Span target, ChunkGeneratorContext context)
Microsoft.AspNet.Razor.Generator.ModelChunkGenerator.GetHashCode()
Return type:System.Int32
public override int GetHashCode()
Microsoft.AspNet.Razor.Generator.ModelChunkGenerator.ToString()
Return type:System.String
public override string ToString()