Search Results for

    Show / Hide Table of Contents

    Class NodeId

    This indicates a placement in a tree. Most of the time TreeIndex will be 0 and only the AssociateId will be used, unless you allow associates to be placed in the same tree multiple times (Should only applies Matrix trees).

    Inheritance
    System.Object
    NodeId
    Namespace: DirectScale.Disco.Extension
    Assembly: DirectScale.Disco.Extension.Abstractions.dll
    Syntax
    public class NodeId : Object

    Constructors

    NodeId()

    Declaration
    public NodeId()

    NodeId(Int32, Int32)

    Declaration
    public NodeId(int associateId, int index = 0)
    Parameters
    Type Name Description
    System.Int32 associateId
    System.Int32 index

    Properties

    AssociateId

    Declaration
    public int AssociateId { get; set; }
    Property Value
    Type Description
    System.Int32

    TreeIndex

    Declaration
    public int TreeIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    Equals(NodeId)

    Declaration
    public bool Equals(NodeId p)
    Parameters
    Type Name Description
    NodeId p
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Operators

    Equality(NodeId, NodeId)

    Declaration
    public static bool operator ==(NodeId a, NodeId b)
    Parameters
    Type Name Description
    NodeId a
    NodeId b
    Returns
    Type Description
    System.Boolean

    Inequality(NodeId, NodeId)

    Declaration
    public static bool operator !=(NodeId a, NodeId b)
    Parameters
    Type Name Description
    NodeId a
    NodeId b
    Returns
    Type Description
    System.Boolean
    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX