TagHelperDescriptorComparer.Equals 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.
Determines whether the specified objects are equal.
public:
virtual bool Equals(Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^ descriptorX, Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^ descriptorY);
public virtual bool Equals (Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor descriptorX, Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor descriptorY);
override this.Equals : Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor * Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor -> bool
Public Overridable Function Equals (descriptorX As TagHelperDescriptor, descriptorY As TagHelperDescriptor) As Boolean
Parameters
- descriptorX
- TagHelperDescriptor
- descriptorY
- TagHelperDescriptor
Returns
Implements
Remarks
Determines equality based on TypeName, AssemblyName, TagName, RequiredAttributes, AllowedChildren, and TagStructure. Ignores DesignTimeDescriptor because it can be inferred directly from TypeName and AssemblyName.