TagHelperDescriptorComparer.Equals Method

Definition

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

Boolean

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.

Applies to