Compartir a través de


ReadOnlyTagHelperAttributeList Clase

Definición

Colección de solo lectura de TagHelperAttributes.

public ref class ReadOnlyTagHelperAttributeList abstract : System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttribute ^>
public abstract class ReadOnlyTagHelperAttributeList : System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>
type ReadOnlyTagHelperAttributeList = class
    inherit ReadOnlyCollection<TagHelperAttribute>
Public MustInherit Class ReadOnlyTagHelperAttributeList
Inherits ReadOnlyCollection(Of TagHelperAttribute)
Herencia
ReadOnlyTagHelperAttributeList
Derivado

Constructores

ReadOnlyTagHelperAttributeList()

Crea una instancia nueva de ReadOnlyTagHelperAttributeList con una colección vacía.

ReadOnlyTagHelperAttributeList(IList<TagHelperAttribute>)

Crea una instancia ReadOnlyTagHelperAttributeList de con el especificado attributes.

Propiedades

Item[String]

Obtiene el primero TagHelperAttribute con Name la coincidencia namede .

Métodos

ContainsName(String)

Determina si existe un TagHelperAttribute objeto con Name coincidencia name en la colección.

IndexOfName(String)

Busca coincidencias TagHelperAttributeName entre mayúsculas y minúsculas name y devuelve el índice de base cero de la primera aparición.

NameEquals(String, TagHelperAttribute)

Determina si el especificado attribute tiene el mismo nombre que name.

TryGetAttribute(String, TagHelperAttribute)

Recupera el primero TagHelperAttribute con Name la coincidencia namede .

TryGetAttributes(String, IReadOnlyList<TagHelperAttribute>)

TagHelperAttributeRecupera s de la colección con Name la coincidencia name.

Se aplica a