API Reference
Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.
Search results for: TreeRedbObject
Clear search
ITreeProvider
redb.Core.Providers
CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser)
Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject)
Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
ITreeRedbObject
redb.Core.Models.Contracts
IsAncestorOf(ITreeRedbObject)
Checks if current node is ancestor of specified node
IsDescendantOf(ITreeRedbObject)
Checks if current node is descendant of specified node
ITreeRedbObject<TProps>
redb.Core.Models.Contracts
RedbServiceBase
redb.Core
CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser)
Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject)
Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
TreeCollection
redb.Core.Models.Collections
Add(ITreeRedbObject)
Adds node to collection and automatically builds hierarchy
AddRange(IEnumerable<ITreeRedbObject>)
Adds range of nodes
FindNodes(Func<ITreeRedbObject, bool>)
Finds nodes by predicate
TreeCollection<TProps>
redb.Core.Models.Collections
Add(ITreeRedbObject<TProps>)
Adds typed node to collection
AddRange(IEnumerable<ITreeRedbObject<TProps>>)
Adds range of typed nodes
FindNodes(Func<ITreeRedbObject<TProps>, bool>)
Finds typed nodes by predicate
TreeExtensions
redb.Core.Utils
BreadthFirstTraversal(ITreeRedbObject)
Breadth-First Search tree traversal for polymorphic trees.
BreadthFirstTraversal<TProps>(ITreeRedbObject<TProps>)
Breadth-First Search tree traversal for typed trees.
DepthFirstTraversal(ITreeRedbObject)
Depth-First Search tree traversal - pre-order for polymorphic trees.
DepthFirstTraversal<TProps>(ITreeRedbObject<TProps>)
Depth-First Search tree traversal - pre-order for typed trees.
FindById(ITreeRedbObject, long)
Find node by ID in polymorphic tree.
FindById<TProps>(ITreeRedbObject<TProps>, long)
Find node by ID in typed tree.
FindNodes(ITreeRedbObject, Func<ITreeRedbObject, bool>)
Find nodes by predicate in polymorphic tree.
FindNodes<TProps>(ITreeRedbObject<TProps>, Func<ITreeRedbObject<TProps>, bool>)
Find nodes by predicate in typed tree.
FlattenWithLevels(ITreeRedbObject)
Flattens polymorphic tree to list with level indicators.
FlattenWithLevels<TProps>(ITreeRedbObject<TProps>)
Flattens typed tree to list with level indicators.
GetLeaves(ITreeRedbObject)
Gets all leaf nodes of polymorphic tree.
GetLeaves<TProps>(ITreeRedbObject<TProps>)
Gets all leaf nodes of typed tree.
GetMaterializedPath(ITreeRedbObject, string)
Builds materialized path for polymorphic node.
GetMaterializedPath<TProps>(ITreeRedbObject<TProps>, string)
Builds materialized path for typed node.
GetNodesAtLevel(ITreeRedbObject, int)
Gets all nodes at specific level in polymorphic tree.
GetNodesAtLevel<TProps>(ITreeRedbObject<TProps>, int)
Gets all nodes at specific level in typed tree.
IsBalanced(ITreeRedbObject)
Checks if polymorphic tree is balanced (subtree depth difference does not exceed 1).
IsBalanced<TProps>(ITreeRedbObject<TProps>)
Checks if typed tree is balanced (subtree depth difference does not exceed 1).
PostOrderTraversal(ITreeRedbObject)
Depth-First Search tree traversal - post-order for polymorphic trees.
PostOrderTraversal<TProps>(ITreeRedbObject<TProps>)
Depth-First Search tree traversal - post-order for typed trees.
TreeObjectConverter
redb.Core.Utils
BuildParentRelationships(IEnumerable<ITreeRedbObject>)
Build Parent relationships for a collection of polymorphic tree objects.
BuildParentRelationships<TProps>(IEnumerable<TreeRedbObject<TProps>>)
Build Parent relationships for a collection of tree objects.
TreeProjectedQueryable<TProps, TResult>
redb.Core.Query
TreeProviderBase
redb.Core.Providers.Base
CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser)
Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject)
Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
TreeProviderBase.TreeRedbObjectDynamic
redb.Core.Providers.Base.TreeProviderBase
TreeQueryableBase<TProps>
redb.Core.Query.Base
TreeRedbObject
redb.Core.Models.Entities
IsAncestorOf(ITreeRedbObject)
Checks if current node is ancestor of specified node
IsDescendantOf(ITreeRedbObject)
Checks if current node is descendant of specified node
TreeRedbObject<TProps>
redb.Core.Models.Entities
IsAncestorOf(ITreeRedbObject)
Checks if current node is ancestor of specified node
IsDescendantOf(ITreeRedbObject)
Checks if current node is descendant of specified node