Search Results for

    Show / Hide Table of Contents
    View Source

    Class TopoGraph

    Provides static methods and nested types for creating topologically sortable graph nodes.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Collections
    Assembly: Umbraco.Core.dll
    Syntax
    public class TopoGraph

    Constructors

    View Source

    TopoGraph()

    Declaration
    public TopoGraph()

    Methods

    View Source

    CreateNode<TKey, TItem>(TKey, TItem, IEnumerable<TKey>)

    Creates a new graph node with the specified key, item, and dependencies.

    Declaration
    public static TopoGraph.Node<TKey, TItem> CreateNode<TKey, TItem>(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.

    Returns
    Type Description
    TopoGraph.Node<TKey, TItem>

    A new TopoGraph.Node<TKey, TItem> instance.

    Type Parameters
    Name Description
    TKey

    The type of the key.

    TItem

    The type of the item.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX