EmptyTagImpl Class
The default implementation of empty EmptyTags.
public sealed class EmptyTagImpl : BaseTagImpl<EmptyTag>, EmptyTag
- Inheritance
- Implements
Constructors
Empty |
Initializes a new instance of the EmptyTagImpl class. |
Properties
Name | |
Name |
(Inherited from Base |
Kind |
(Inherited from Abstract |
Methods
Accept(Node |
Description copied from class: AbstractNode
|
Get |
Description copied from class: AbstractNode
|
Create(Func<Tag |
Description copied from class: BaseTagImpl
|
Create |
Description copied from class: BaseTagImpl
|
AddAttributes((string Name, string Value)[]) |
Description copied from interface: BaseTag (Inherited from Base |
AddClass(string[]) |
Description copied from interface: BaseTag (Inherited from Base |
AddEmptyAttributes(string[]) |
Description copied from interface: BaseTag (Inherited from Base |
WithClass(string[]) |
Description copied from interface: BaseTag (Inherited from Base |
WithId(string) |
Description copied from interface: BaseTag (Inherited from Base |
Create(Func<TagStruct, TagStruct>) |
Gets a new element with the modifying function. (Inherited from Base |
CreateAddingAttributes(IEnumerable<(string Name, string Value)>) |
Gets a new element with adding the specified attributes. (Inherited from Base |
Accept(NodeVisitor) |
Description copied from interface: Node (Inherited from Abstract |
ToString() |
(Inherited from Abstract |
ToString(FormatOptions) |
Description copied from interface: Node (Inherited from Abstract |
GetKind() |
Gets the kind of this node. (Inherited from Abstract |
Equals(object) | (Inherited from object) |
GetHashCode() | (Inherited from object) |
GetType() | (Inherited from object) |
MemberwiseClone() | (Inherited from object) |
Constructors Detail
EmptyTagImpl(string)
Initializes a new instance of the EmptyTagImpl class.
public EmptyTagImpl(string name)
Parameters
- name
- string
The name of this tag.
Properties Detail
Name
public override string Name { get; }
Property Value
Implements
Methods Detail
Accept(NodeVisitor)
Description copied from class: AbstractNode
Description copied from interface: Node
Returns the object associated this node that is created with the specified visitor.
public override void Accept(NodeVisitor visitor)
Parameters
- visitor
-
Node
Visitor
Implements
See Also
- NodeVisitor
Description copied from class: AbstractNode
Description copied from interface: Node
GetKind()
Description copied from class: AbstractNode
Gets the kind of this node.
protected override NodeKind GetKind()
Returns
Create(Func<TagStruct, TagStruct>)
Description copied from class: BaseTagImpl
Gets a new element with the modifying function.
protected override EmptyTag Create(Func<TagStruct, TagStruct> modify)
Parameters
Returns
CreateAddingAttributes(IEnumerable<(string Name, string Value)>)
Description copied from class: BaseTagImpl
Gets a new element with adding the specified attributes.
protected override EmptyTag CreateAddingAttributes(IEnumerable<(string Name, string Value)> attributes)
Parameters
- attributes
- IEnumerable<(string Name, string Value)>