TemplateInfo Class¶
- Namespace
Microsoft.AspNetCore.Mvc.ViewFeatures- Assemblies
- Microsoft.AspNetCore.Mvc.ViewFeatures
Constructors¶
-
TemplateInfo()¶ public TemplateInfo()
-
TemplateInfo(Microsoft.AspNetCore.Mvc.ViewFeatures.TemplateInfo) public TemplateInfo(TemplateInfo original)
-
Methods¶
-
AddVisited(System.Object)¶ Return type: System.Boolean public bool AddVisited(object value)
-
GetFullHtmlFieldName(System.String)¶ Return type: System.String public string GetFullHtmlFieldName(string partialFieldName)
-
Visited(Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer)¶ Return type: System.Boolean public bool Visited(ModelExplorer modelExplorer)
-
Properties¶
-
Microsoft.AspNetCore.Mvc.ViewFeatures.TemplateInfo.FormattedModelValue¶ Gets or sets the formatted model value.
Return type: System.Object Returns: The formatted model value. public object FormattedModelValue { get; set; }
-
Microsoft.AspNetCore.Mvc.ViewFeatures.TemplateInfo.HtmlFieldPrefix¶ Gets or sets the HTML field prefix.
Return type: System.String Returns: The HTML field prefix. public string HtmlFieldPrefix { get; set; }
-
Microsoft.AspNetCore.Mvc.ViewFeatures.TemplateInfo.TemplateDepth¶ Return type: System.Int32 public int TemplateDepth { get; }
-