Class SElement
Definition
Namespace: StardewUI.Framework.Dom
Assembly: StardewUI.dll
Record implementation of a StarML IElement.
public record SElement : StardewUI.Framework.Dom.IElement,
IEquatable<StardewUI.Framework.Dom.SElement>
Inheritance
Object ⇦ SElement
Implements
IElement, IEquatable<SElement>
Members
Constructors
Name | Description |
---|---|
SElement(string, IReadOnlyList<SAttribute>, IReadOnlyList<SEvent>) | Record implementation of a StarML IElement. |
Properties
Name | Description |
---|---|
Attributes | The attributes applied to this tag. |
EqualityContract | |
Events | The events applied to this tag. |
Tag | The tag name. |
Details
Constructors
SElement(string, IReadOnlyList<SAttribute>, IReadOnlyList<SEvent>)
Record implementation of a StarML IElement.
public SElement(string Tag, System.Collections.Generic.IReadOnlyList<StardewUI.Framework.Dom.SAttribute> Attributes, System.Collections.Generic.IReadOnlyList<StardewUI.Framework.Dom.SEvent> Events);
Parameters
Tag
string
The tag name.
Attributes
IReadOnlyList<SAttribute>
The attributes applied to this tag.
Events
IReadOnlyList<SEvent>
The events applied to this tag.
Properties
Attributes
The attributes applied to this tag.
public System.Collections.Generic.IReadOnlyList<StardewUI.Framework.Dom.SAttribute> Attributes { get; set; }
Property Value
EqualityContract
Property Value
Events
The events applied to this tag.
public System.Collections.Generic.IReadOnlyList<StardewUI.Framework.Dom.SEvent> Events { get; set; }
Property Value
Tag
The tag name.