Table of Contents

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

name string

List name

index int

Index of the changed item

list IList

Reference to the list

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

int

List

Internal list reference

public readonly IList List

Field Value

IList

Name

Name of the list

public readonly string Name

Field Value

string

Methods

Equals(object?)

Check if this instance equals another

public override bool Equals(object? obj)

Parameters

obj object

Other 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