ITagHelperDescriptorFactory.CreateDescriptors(String, Type, ErrorSink) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a TagHelperDescriptor from the given type
.
public:
System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^> ^ CreateDescriptors(System::String ^ assemblyName, Type ^ type, Microsoft::AspNetCore::Razor::ErrorSink ^ errorSink);
public 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>
Public Function CreateDescriptors (assemblyName As String, type As Type, errorSink As ErrorSink) As IEnumerable(Of TagHelperDescriptor)
Parameters
- assemblyName
- String
The assembly name that contains type
.
- type
- Type
The Type to create a TagHelperDescriptor from.
- errorSink
- ErrorSink
The ErrorSink used to collect RazorErrors encountered
when creating TagHelperDescriptors for the given type
.
Returns
A collection of TagHelperDescriptors that describe the given type
.