Search Results for

    Show / Hide Table of Contents

    Interface ITreeNode<T>

    Contains Tree node properties and methods

    Inherited Members
    ITreeNode.Ancestors
    ITreeNode.ParentNode
    ITreeNode.ChildNodes
    ITreeNode.Descendants
    ITreeNode.Depth
    ITreeNode.Height
    Namespace: PnP.Framework.Diagnostics.Tree
    Assembly: PnP.Framework.dll
    Syntax
    public interface ITreeNode<T> : ITreeNode
    Type Parameters
    T

    Generic type

    Properties

    Children

    Gets child node

    Declaration
    TreeNodeList<T> Children { get; }
    Property Value
    TreeNodeList<T>

    Parent

    Parent node

    Declaration
    ITreeNode<T> Parent { get; set; }
    Property Value
    ITreeNode<T>

    Root

    Top root node

    Declaration
    ITreeNode<T> Root { get; }
    Property Value
    ITreeNode<T>

    Value

    Generic type value

    Declaration
    T Value { get; set; }
    Property Value
    T

    Methods

    SetParent(ITreeNode<T>, Boolean)

    Sets parent node to the child nodes

    Declaration
    void SetParent(ITreeNode<T> Node, bool UpdateChildNodes = true)
    Parameters
    ITreeNode<T> Node

    Node to which we need to set parent node

    System.Boolean UpdateChildNodes

    Updates child nodes

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer