TemplateInfo Class

Syntax

public class TemplateInfo

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.TemplateInfo

Constructors

Microsoft.AspNet.Mvc.TemplateInfo.TemplateInfo()
public TemplateInfo()
TemplateInfo(Microsoft.AspNet.Mvc.TemplateInfo)
Arguments:
public TemplateInfo(TemplateInfo original)

Properties

FormattedModelValue()

Gets or sets the formatted model value.

Return type:System.Object
public object FormattedModelValue { get; set; }
HtmlFieldPrefix()

Gets or sets the HTML field prefix.

Return type:System.String
public string HtmlFieldPrefix { get; set; }
TemplateDepth()
Return type:System.Int32
public int TemplateDepth { get; }

Methods

AddVisited(System.Object)
Arguments:
  • value (System.Object) –
Return type:

System.Boolean

public bool AddVisited(object value)
GetFullHtmlFieldName(System.String)
Arguments:
  • partialFieldName (System.String) –
Return type:

System.String

public string GetFullHtmlFieldName(string partialFieldName)
Visited(Microsoft.AspNet.Mvc.ModelBinding.ModelExplorer)
Arguments:
Return type:

System.Boolean

public bool Visited(ModelExplorer modelExplorer)