TagHelperBlock.Equals(TagHelperBlock) 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 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
true if the current TagHelperBlock is equivalent to the given
other, false otherwise.