Share via


TagHelperRequiredAttributeDescriptor Class

Definition

A metadata class describing a required tag helper attribute.

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

Constructors

TagHelperRequiredAttributeDescriptor()

Properties

Name

The HTML attribute name.

NameComparison

The comparison method to use for Name when determining if an HTML attribute name matches.

Value

The HTML attribute value.

ValueComparison

The comparison method to use for Value when determining if an HTML attribute value matches.

Methods

IsMatch(String, String)

Determines if the current TagHelperRequiredAttributeDescriptor matches the given attributeName and attributeValue.

Applies to