ReadOnlyTagHelperAttributeList Třída

Definice

Kolekce jen pro TagHelperAttributečtení.

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)
Dědičnost
ReadOnlyTagHelperAttributeList
Odvozené

Konstruktory

ReadOnlyTagHelperAttributeList()

Vytvoří instanci nové instance ReadOnlyTagHelperAttributeList s prázdnou kolekcí.

ReadOnlyTagHelperAttributeList(IList<TagHelperAttribute>)

Vytvoří instanci nové instance ReadOnlyTagHelperAttributeList se zadaným attributes.

Vlastnosti

Item[String]

Získá první TagHelperAttribute s párování nameName .

Metody

ContainsName(String)

Určuje, zda TagHelperAttribute v kolekci existuje odpovídající name hodnotaName.

IndexOfName(String)

TagHelperAttribute Vyhledá, kdo nerozlišuje Name name malá a malá písmena, a vrátí index založený na nule prvního výskytu.

NameEquals(String, TagHelperAttribute)

Určuje, zda zadaný attribute název má stejný název jako name.

TryGetAttribute(String, TagHelperAttribute)

Načte první TagHelperAttribute s odpovídajícími Name name.

TryGetAttributes(String, IReadOnlyList<TagHelperAttribute>)

Načte TagHelperAttributes v kolekci s odpovídajícími Name name.

Platí pro