TagHelperDescriptorFactory.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:
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)
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
.
Implements
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: