TypeBasedTagHelperDescriptorComparer Class
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.
An IEqualityComparer<T> that checks equality between two TagHelperDescriptors using only their AssemblyNames and TypeNames.
public ref class TypeBasedTagHelperDescriptorComparer : System::Collections::Generic::IEqualityComparer<Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^>
public class TypeBasedTagHelperDescriptorComparer : System.Collections.Generic.IEqualityComparer<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor>
type TypeBasedTagHelperDescriptorComparer = class
interface IEqualityComparer<TagHelperDescriptor>
Public Class TypeBasedTagHelperDescriptorComparer
Implements IEqualityComparer(Of TagHelperDescriptor)
- Inheritance
-
TypeBasedTagHelperDescriptorComparer
- Implements
Remarks
This class is intended for scenarios where Reflection-based information is all important i.e. RequiredAttributes, TagName, and related properties are not relevant.
Fields
| Default |
A default instance of the TypeBasedTagHelperDescriptorComparer. |
Methods
| Equals(TagHelperDescriptor, TagHelperDescriptor) | Determines whether the specified objects are equal. |
| GetHashCode(TagHelperDescriptor) | Returns a hash code for the specified object. |