ViewComponentTagHelperDescriptorConventions.IsViewComponentDescriptor 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.
Indicates whether a TagHelperDescriptor represents a view component.
public:
static bool IsViewComponentDescriptor(Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^ descriptor);
public static bool IsViewComponentDescriptor (Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor descriptor);
static member IsViewComponentDescriptor : Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor -> bool
Public Shared Function IsViewComponentDescriptor (descriptor As TagHelperDescriptor) As Boolean
Parameters
- descriptor
- TagHelperDescriptor
The TagHelperDescriptor to check.
Returns
Whether a TagHelperDescriptor represents a view component.