Search Results for

    Show / Hide Table of Contents
    View Source

    Class TopoGraph.Node<TKey, TItem>

    Represents a node in a topological graph with a key, item, and dependencies.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Collections
    Assembly: Umbraco.Core.dll
    Syntax
    public class TopoGraph.Node<TKey, TItem>
    Type Parameters
    Name Description
    TKey

    The type of the key.

    TItem

    The type of the item.

    Constructors

    View Source

    Node(TKey, TItem, IEnumerable<TKey>)

    Initializes a new instance of the TopoGraph.Node<TKey, TItem> class.

    Declaration
    public Node(TKey key, TItem item, IEnumerable<TKey> dependencies)
    Parameters
    Type Name Description
    TKey key

    The key that uniquely identifies the node.

    TItem item

    The item stored in the node.

    IEnumerable<TKey> dependencies

    The keys of nodes that this node depends on.

    Properties

    View Source

    Dependencies

    Gets the keys of nodes that this node depends on.

    Declaration
    public IEnumerable<TKey> Dependencies { get; }
    Property Value
    Type Description
    IEnumerable<TKey>
    View Source

    Item

    Gets the item stored in this node.

    Declaration
    public TItem Item { get; }
    Property Value
    Type Description
    TItem
    View Source

    Key

    Gets the key that uniquely identifies this node.

    Declaration
    public TKey Key { get; }
    Property Value
    Type Description
    TKey
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX