ITagHelperTypeResolver Interface¶
Locates valid Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper
s within an assembly.
- Namespace
Microsoft.AspNetCore.Razor.Runtime.TagHelpers
- Assemblies
- Microsoft.AspNetCore.Razor.Runtime
Syntax¶
public interface ITagHelperTypeResolver
-
interface
Microsoft.AspNetCore.Razor.Runtime.TagHelpers.
ITagHelperTypeResolver
Methods¶
-
Resolve
(System.String, Microsoft.AspNetCore.Razor.SourceLocation, Microsoft.AspNetCore.Razor.ErrorSink)¶ Locates valid
Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper
types from theSystem.Reflection.Assembly
named <em>name</em>.Arguments: - name (System.String) – The name of an
System.Reflection.Assembly
to search. - documentLocation (Microsoft.AspNetCore.Razor.SourceLocation) – The
Microsoft.AspNetCore.Razor.SourceLocation
of the associatedMicrosoft.AspNetCore.Razor.Parser.SyntaxTree.SyntaxTreeNode
responsible for the currentMicrosoft.AspNetCore.Razor.Runtime.TagHelpers.ITagHelperTypeResolver.Resolve(System.String,Microsoft.AspNetCore.Razor.SourceLocation,Microsoft.AspNetCore.Razor.ErrorSink)
call. - errorSink (Microsoft.AspNetCore.Razor.ErrorSink) – The
Microsoft.AspNetCore.Razor.ErrorSink
used to record errors found when resolvingMicrosoft.AspNetCore.Razor.TagHelpers.ITagHelper
types.
Return type: System.Collections.Generic.IEnumerable<System.Type>
Returns: An
System.Collections.Generic.IEnumerable`1
of validMicrosoft.AspNetCore.Razor.TagHelpers.ITagHelper
types.IEnumerable<Type> Resolve(string name, SourceLocation documentLocation, ErrorSink errorSink)
- name (System.String) – The name of an
-