ModelChunk Class

Syntax

public class ModelChunk : Chunk

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.Razor.ModelChunk

Constructors

ModelChunk(System.String, System.String)

Represents the chunk for an [model]() statement.

Arguments:
  • baseType (System.String) – The base type of the view.
  • modelType (System.String) – The type of the view’s Model.
public ModelChunk(string baseType, string modelType)

Properties

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