Struct NodeId
- Namespace
- Icy.Design
- Assembly
- IcyUI.Design.dll
Identifies one element of a DesignDocument, stably across edits.
public readonly record struct NodeId : IEquatable<NodeId>
- Implements
- Inherited Members
- Extension Methods
Remarks
Every edit re-parses the document into new syntax nodes; a NodeId is what stays the same for an element that survived the edit, including one that was moved. An element an edit inserted gets a new id.
Constructors
NodeId(int)
Identifies one element of a DesignDocument, stably across edits.
public NodeId(int Value)
Parameters
ValueintThe id's raw value, unique within its document.
Remarks
Every edit re-parses the document into new syntax nodes; a NodeId is what stays the same for an element that survived the edit, including one that was moved. An element an edit inserted gets a new id.
Properties
Value
The id's raw value, unique within its document.
public int Value { get; init; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.