TagHelperDescriptor Class

Definition

A metadata class describing a tag helper.

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

Constructors

TagHelperDescriptor()

Creates a new TagHelperDescriptor.

TagHelperDescriptor(TagHelperDescriptor)

Creates a shallow copy of the given TagHelperDescriptor.

Properties

AllowedChildren

Get the names of elements allowed as children.

AssemblyName

The name of the assembly containing the tag helper class.

Attributes

The list of attributes the tag helper expects.

DesignTimeDescriptor

The TagHelperDesignTimeDescriptor that contains design time information about this tag helper.

FullTagName

The full tag name that is required for the tag helper to target an HTML element.

Prefix

Text used as a required prefix when matching HTML start and end tags in the Razor source to available tag helpers.

PropertyBag

A dictionary containing additional information about the TagHelperDescriptor.

RequiredAttributes

The list of required attribute names the tag helper expects to target an element.

RequiredParent

Get the name of the HTML element required as the immediate parent.

TagName

The tag name that the tag helper should target.

TagStructure

The expected tag structure.

TypeName

The full name of the tag helper class.

Applies to