Search Results for

    Show / Hide Table of Contents

    Interface ITopologicalSortable

    Interface to be implemented by classes that need to support sorting topologically using the TopologicalSort<T> class.

    Namespace: Sdl.Core.PluginFramework.Util
    Assembly: Sdl.Core.PluginFramework.dll
    Syntax
    public interface ITopologicalSortable

    Properties

    Id

    Gets the id of the item.

    Declaration
    string Id { get; }
    Property Value
    Type Description
    System.String

    InsertAfter

    Returns the id of the item after which this item needs to appear. Can be null.

    Declaration
    string InsertAfter { get; }
    Property Value
    Type Description
    System.String

    InsertBefore

    Returns the id of the item before which this item needs to appear. Can be null.

    Declaration
    string InsertBefore { get; }
    Property Value
    Type Description
    System.String

    Priority

    Returns the sorting priority of this item.

    Declaration
    int Priority { get; }
    Property Value
    Type Description
    System.Int32
    Remarks

    When two items specify the same criteria, for example InsertBefore=x, then the item with the highest priority, will be inserted right before x, followed by the item with the lower priority.

    See Also

    TopologicalSort<T>

    On this page

    • Properties
      • Id
      • InsertAfter
      • InsertBefore
      • Priority
    • See Also
    Back to top Generated by DocFX