Share via


TagHelperBlock Class

Definition

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
TagHelperBlock
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