Search Results for

    Show / Hide Table of Contents

    Interface ITreeNode<T>

    Generalizes a property that a class implements that provides an associated Item that can be held against the class while also having child items through the IHasChildren interface implementation.

    Inherited Members
    IHasChildren.AddChild(IHasChildren)
    IHasChildren.DeleteChild(IHasChildren)
    IHasChildren.ClearChildren()
    IHasChildren.Children
    IHasChildren.Parent
    Namespace: LemonEdge.Utils
    Assembly: LemonEdge.Utils.dll
    Syntax
    public interface ITreeNode<T> : ITreeNode, IHasChildren
    Type Parameters
    Name Description
    T

    The specified type of the Item property

    Properties

    Item

    The associated item of type T held against the class implementing this ITreeNode<T> implementation

    Declaration
    T Item { get; }
    Property Value
    Type Description
    T

    The item associated with this treenode

    Extension Methods

    HasChildrenExtensions.GetAllChildren(IHasChildren)
    HasChildrenExtensions.GetLeafChildNodesOnly(IHasChildren)
    HasChildrenExtensions.GetRootParent(IHasChildren)
    HasChildrenExtensions.HasChildren(IHasChildren)
    HasChildrenExtensions.MaxTreeDepth(IHasChildren)
    HasChildrenExtensions.ContainsMatchingNode<T>(T, Func<T, bool>)
    HasChildrenExtensions.CopyNode<T>(T, HasChildrenExtensions.CreateCopiedNode<T>)
    HasChildrenExtensions.CopyNode<T>(T, T, HasChildrenExtensions.CreateCopiedNode<T>)
    HasChildrenExtensions.GetLeafChildNodesOnly<T>(T)
    HasChildrenExtensions.GetMatchingNode<T>(T, Func<T, bool>)
    HasChildrenExtensions.GetPath<T>(T, string, Func<T, string>)
    HasChildrenExtensions.GetRootParent<T>(T)
    HasChildrenExtensions.GetRootToNode<T>(T)
    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)

    See Also

    ITreeNode
    ITreeNode<T, TN>
    TreeNode
    BaseTreeNode<T, TN>
    TreeNode<T>
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.