Class ItemPathNode
- Namespace
- DuetControlServer.Model
- Assembly
- DuetControlServer.dll
Node of an object model path pointing to a list item
public class ItemPathNode
- Inheritance
-
ItemPathNode
- Inherited Members
Remarks
This is necessary for the case of model items changing in a collection
Constructors
ItemPathNode(string, int, IList)
Node of an object model path pointing to a list item
public ItemPathNode(string name, int index, IList list)
Parameters
Remarks
This is necessary for the case of model items changing in a collection
Fields
Index
Index of the item
public readonly int Index
Field Value
List
Internal list reference
public readonly IList List
Field Value
Name
Name of the list
public readonly string Name
Field Value
Methods
Equals(object?)
Check if this instance equals another
public override bool Equals(object? obj)
Parameters
objobjectOther instance
Returns
- bool
If this instance equals obj
GetHashCode()
Compute a hash code for this instance
public override int GetHashCode()
Returns
- int
Hash code
ToString()
Convert an item node to a string (for debugging)
public override string ToString()
Returns
- string
String representation of this node