Delen via


TagHelperTypeResolver.Resolve(String, SourceLocation, ErrorSink) Method

Definition

Locates valid ITagHelper types from the Assembly named name.

public:
 virtual System::Collections::Generic::IEnumerable<Type ^> ^ Resolve(System::String ^ name, Microsoft::AspNetCore::Razor::SourceLocation documentLocation, Microsoft::AspNetCore::Razor::ErrorSink ^ errorSink);
public System.Collections.Generic.IEnumerable<Type> Resolve (string name, Microsoft.AspNetCore.Razor.SourceLocation documentLocation, Microsoft.AspNetCore.Razor.ErrorSink errorSink);
abstract member Resolve : string * Microsoft.AspNetCore.Razor.SourceLocation * Microsoft.AspNetCore.Razor.ErrorSink -> seq<Type>
override this.Resolve : string * Microsoft.AspNetCore.Razor.SourceLocation * Microsoft.AspNetCore.Razor.ErrorSink -> seq<Type>
Public Function Resolve (name As String, documentLocation As SourceLocation, errorSink As ErrorSink) As IEnumerable(Of Type)

Parameters

name
String

The name of an Assembly to search.

documentLocation
SourceLocation

The SourceLocation of the associated SyntaxTreeNode responsible for the current Resolve(String, SourceLocation, ErrorSink) call.

errorSink
ErrorSink

The ErrorSink used to record errors found when resolving ITagHelper types.

Returns

An IEnumerable<T> of valid ITagHelper types.

Implements

Applies to