Show / Hide Table of Contents

Class TreeNode

Tree class to visualize either a dependency or observer tree from the Dependency graph.

Inheritance
System.Object
TreeNode
Namespace: Cortex.Net.Api
Assembly: Cortex.Net.dll
Syntax
public class TreeNode : object

Properties

| Improve this Doc View Source

Children

Gets children of this TreeNode.

Declaration
public IEnumerable<TreeNode> Children { get; }
Property Value
Type Description
IEnumerable<TreeNode>
| Improve this Doc View Source

Name

Gets name of this item.

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

Methods

| Improve this Doc View Source

GetDependencyTree(IDependencyNode)

Creates the dependency tree from this node to all the children it is observing.

Declaration
public static TreeNode GetDependencyTree(IDependencyNode startNode)
Parameters
Type Name Description
IDependencyNode startNode

The node to start with.

Returns
Type Description
TreeNode

A complete tree from the current node.

| Improve this Doc View Source

GetObserverTree(IDependencyNode)

Creates an observer tree from this node to all the parents that observe it.

Declaration
public static TreeNode GetObserverTree(IDependencyNode startNode)
Parameters
Type Name Description
IDependencyNode startNode

The node to start with.

Returns
Type Description
TreeNode

A complete tree from the current node.

| Improve this Doc View Source

ToString()

Prints the current tree.

Declaration
public override string ToString()
Returns
Type Description
System.String

A string with line breaks and indentation.

Extension Methods

TraceExtensions.Trace<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>, TraceMode)
ReactiveObjectTypeUtilExtensions.GetObservable(Object)
ReactiveObjectTypeUtilExtensions.GetObservable<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX