Delen via


TemplateInfo Class

Definition

Represents a template which keeps track of visited objects.

public ref class TemplateInfo
public class TemplateInfo
type TemplateInfo = class
Public Class TemplateInfo
Inheritance
TemplateInfo

Constructors

TemplateInfo()

Initializes a new instance of TemplateInfo.

TemplateInfo(TemplateInfo)

Initializes a new instance of TemplateInfo.

Properties

FormattedModelValue

Gets or sets the formatted model value.

HtmlFieldPrefix

Gets or sets the HTML field prefix.

TemplateDepth

Gets how many objects have been visited.

Methods

AddVisited(Object)

Mark a value as visited.

GetFullHtmlFieldName(String)

Returns the full HTML element name for the specified partialFieldName.

Visited(ModelExplorer)

Checks if a model has been visited already.

Applies to