Share via


TagHelperAttribute Clase

Definición

Atributo auxiliar de etiquetas HTML.

public ref class TagHelperAttribute : Microsoft::AspNetCore::Html::IHtmlContentContainer
public class TagHelperAttribute : Microsoft.AspNetCore.Html.IHtmlContentContainer
type TagHelperAttribute = class
    interface IHtmlContentContainer
    interface IHtmlContent
type TagHelperAttribute = class
    interface IHtmlContent
    interface IHtmlContentContainer
Public Class TagHelperAttribute
Implements IHtmlContentContainer
Herencia
TagHelperAttribute
Implementaciones

Constructores

TagHelperAttribute(String)

Crea una instancia TagHelperAttribute de con el especificado name. ValueStyle se establece en Minimized y Value en null.

TagHelperAttribute(String, Object)

Crea una instancia nueva de TagHelperAttribute con los especificados name y value. El valor de ValueStyle está establecido en DoubleQuotes.

TagHelperAttribute(String, Object, HtmlAttributeValueStyle)

Crea una instancia TagHelperAttribute de con el especificado namevalue y valueStyle.

Propiedades

Name

Obtiene el nombre del atributo.

Value

Obtiene el valor del atributo.

ValueStyle

Obtiene el estilo de valor del atributo.

Métodos

CopyTo(IHtmlContentBuilder)

Copia el contenido contenido de este IHtmlContentContainer objeto en builder.

Equals(Object)

Atributo auxiliar de etiquetas HTML.

Equals(TagHelperAttribute)

Atributo auxiliar de etiquetas HTML.

GetHashCode()

Atributo auxiliar de etiquetas HTML.

MoveTo(IHtmlContentBuilder)

Mueve el contenido contenido de este objeto IHtmlContentContainer a builder.

Después MoveTo(IHtmlContentBuilder) de llamar a , esta IHtmlContentContainer instancia debe dejarse en un estado vacío.

WriteTo(TextWriter, HtmlEncoder)

Escribe el contenido codificandolo con el especificado encoder en el especificado writer.

Se aplica a