TagHelperBlock.Equals(TagHelperBlock) Method

Definition

Determines whether two TagHelperBlocks are equal by comparing the TagName, Attributes, Type, ChunkGenerator and Children.

public:
 virtual bool Equals(Microsoft::AspNetCore::Razor::Parser::TagHelpers::TagHelperBlock ^ other);
public bool Equals (Microsoft.AspNetCore.Razor.Parser.TagHelpers.TagHelperBlock other);
override this.Equals : Microsoft.AspNetCore.Razor.Parser.TagHelpers.TagHelperBlock -> bool
Public Function Equals (other As TagHelperBlock) As Boolean

Parameters

other
TagHelperBlock

The TagHelperBlock to check equality against.

Returns

Boolean

true if the current TagHelperBlock is equivalent to the given other, false otherwise.

Implements

Applies to