ITagHelperTypeResolver.Resolve(String, SourceLocation, 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.
Locates valid ITagHelper types from the Assembly named name
.
public:
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>
Public Function Resolve (name As String, documentLocation As SourceLocation, errorSink As ErrorSink) As IEnumerable(Of Type)
Parameters
- 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.