TagHelperDescriptorResolver.ResolveDescriptorsInAssembly Method

Definition

Resolves all TagHelperDescriptors for ITagHelpers from the given assemblyName.

protected:
 virtual System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^> ^ ResolveDescriptorsInAssembly(System::String ^ assemblyName, Microsoft::AspNetCore::Razor::SourceLocation documentLocation, Microsoft::AspNetCore::Razor::ErrorSink ^ errorSink);
protected virtual System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> ResolveDescriptorsInAssembly (string assemblyName, Microsoft.AspNetCore.Razor.SourceLocation documentLocation, Microsoft.AspNetCore.Razor.ErrorSink errorSink);
abstract member ResolveDescriptorsInAssembly : string * Microsoft.AspNetCore.Razor.SourceLocation * Microsoft.AspNetCore.Razor.ErrorSink -> seq<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor>
override this.ResolveDescriptorsInAssembly : string * Microsoft.AspNetCore.Razor.SourceLocation * Microsoft.AspNetCore.Razor.ErrorSink -> seq<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor>
Protected Overridable Function ResolveDescriptorsInAssembly (assemblyName As String, documentLocation As SourceLocation, errorSink As ErrorSink) As IEnumerable(Of TagHelperDescriptor)

Parameters

assemblyName
String

The name of the assembly to resolve TagHelperDescriptors from.

documentLocation
SourceLocation

The SourceLocation of the directive.

errorSink
ErrorSink

Used to record errors found when resolving TagHelperDescriptors within the given assemblyName.

Returns

IEnumerable<TagHelperDescriptor>

TagHelperDescriptors for ITagHelpers from the given assemblyName.

Applies to