Compartir a través de


TagHelperDescriptorFactory.CreateDescriptors(String, Type, ErrorSink) Método

Definición

Crea un TagHelperDescriptor objeto a partir de la clase especificada type.

public:
 virtual System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^> ^ CreateDescriptors(System::String ^ assemblyName, Type ^ type, Microsoft::AspNetCore::Razor::ErrorSink ^ errorSink);
public virtual System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> CreateDescriptors (string assemblyName, Type type, Microsoft.AspNetCore.Razor.ErrorSink errorSink);
abstract member CreateDescriptors : string * Type * Microsoft.AspNetCore.Razor.ErrorSink -> seq<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor>
override this.CreateDescriptors : string * Type * Microsoft.AspNetCore.Razor.ErrorSink -> seq<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor>
Public Overridable Function CreateDescriptors (assemblyName As String, type As Type, errorSink As ErrorSink) As IEnumerable(Of TagHelperDescriptor)

Parámetros

assemblyName
String

Nombre del ensamblado que contiene type.

type
Type

Type a partir del cual se va a crear TagHelperDescriptor.

errorSink
ErrorSink

que ErrorSink se usa para recopilar RazorErrorlos objetos encontrados al crear TagHelperDescriptorpara el especificado type.

Devoluciones

Colección de TagHelperDescriptors que describen el especificado type.

Implementaciones

Se aplica a