TagHelperDescriptorProvider.GetDescriptors Método

Definición

Obtiene todas las aplicaciones auxiliares de etiquetas que coinciden con el especificado tagName .

public:
 System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^> ^ GetDescriptors(System::String ^ tagName, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ attributes, System::String ^ parentTagName);
public System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> GetDescriptors (string tagName, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> attributes, string parentTagName);
member this.GetDescriptors : string * seq<System.Collections.Generic.KeyValuePair<string, string>> * string -> seq<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor>
Public Function GetDescriptors (tagName As String, attributes As IEnumerable(Of KeyValuePair(Of String, String)), parentTagName As String) As IEnumerable(Of TagHelperDescriptor)

Parámetros

tagName
String

Nombre de la etiqueta HTML que debe coincidir. Si se proporciona un nombre de etiqueta "*", se recuperan los TagHelperDescriptor descriptores que tienen como destino cada etiqueta.

attributes
IEnumerable<KeyValuePair<String,String>>

Atributos que debe contener el elemento HTML para que coincidan.

parentTagName
String

Nombre de la etiqueta primaria de la tagName etiqueta especificada.

Devoluciones

IEnumerable<TagHelperDescriptor>

TagHelperDescriptors que se aplican a la especificada tagName . Devolverá un valor vacío Enumerable si no TagHelperDescriptor se encuentra ningún s.

Se aplica a