Search Results for

    Show / Hide Table of Contents

    Class Node

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

    Constructors

    Node()

    Declaration
    public Node()

    Node(NodeDetail)

    Declaration
    public Node(NodeDetail detail)
    Parameters
    Type Name Description
    NodeDetail detail

    Properties

    Detail

    Declaration
    public NodeDetail Detail { get; set; }
    Property Value
    Type Description
    NodeDetail

    LegCount

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

    Legs

    Declaration
    public Node[] Legs { get; }
    Property Value
    Type Description
    Node[]

    NodeId

    Declaration
    public NodeId NodeId { get; }
    Property Value
    Type Description
    NodeId

    UplineId

    Declaration
    public NodeId UplineId { get; }
    Property Value
    Type Description
    NodeId

    UplineLeg

    Declaration
    public LegName UplineLeg { get; }
    Property Value
    Type Description
    LegName

    Methods

    ForEachNode(Action<Node>)

    Executes the specified action on each node in this tree (breadth-first). Modifying the collection in the body of the action is not supported and causes undefined behavior.

    Declaration
    public void ForEachNode(Action<Node> action)
    Parameters
    Type Name Description
    System.Action<Node> action

    GetLeg(LegName)

    Declaration
    public Node GetLeg(LegName leg)
    Parameters
    Type Name Description
    LegName leg
    Returns
    Type Description
    Node

    HasLeg(LegName)

    Declaration
    public bool HasLeg(LegName leg)
    Parameters
    Type Name Description
    LegName leg
    Returns
    Type Description
    System.Boolean
    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX