TagHelperBlock 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.
A Block that reprents a special HTML element.
public ref class TagHelperBlock : Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Block, IEquatable<Microsoft::AspNetCore::Razor::Parser::TagHelpers::TagHelperBlock ^>
public class TagHelperBlock : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block, IEquatable<Microsoft.AspNetCore.Razor.Parser.TagHelpers.TagHelperBlock>
type TagHelperBlock = class
inherit Block
interface IEquatable<TagHelperBlock>
Public Class TagHelperBlock
Inherits Block
Implements IEquatable(Of TagHelperBlock)
- Inheritance
- Implements
Constructors
TagHelperBlock(TagHelperBlockBuilder) |
Instantiates a new instance of a TagHelperBlock. |
Properties
Attributes |
The HTML attributes. |
Children | (Inherited from Block) |
ChunkGenerator | (Inherited from Block) |
Descriptors |
TagHelperDescriptors for the HTML element. |
IsBlock | (Inherited from Block) |
Length | |
Parent | (Inherited from SyntaxTreeNode) |
SourceEndTag |
Gets the unrewritten source end tag. |
SourceStartTag |
Gets the unrewritten source start tag. |
Start |
The start point of this node |
TagMode |
Gets the HTML syntax of the element in the Razor source. |
TagName |
The HTML tag name. |
Type | (Inherited from Block) |
Methods
Accept(ParserVisitor) | (Inherited from Block) |
Equals(Object) | (Inherited from Block) |
Equals(TagHelperBlock) |
Determines whether two TagHelperBlocks are equal by comparing the TagName, Attributes, Type, ChunkGenerator and Children. |
EquivalentTo(SyntaxTreeNode) | (Inherited from Block) |
FindFirstDescendentSpan() | (Inherited from Block) |
FindLastDescendentSpan() | (Inherited from Block) |
Flatten() | |
GetEquivalenceHash() | (Inherited from Block) |
GetHashCode() | Serves as the default hash function. |
LocateOwner(TextChange) | |
LocateOwner(TextChange) | (Inherited from Block) |
ToString() | Returns a string that represents the current object. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for