RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

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
I ITreeProvider redb.Core.Providers
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser) Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject) Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
I ITreeRedbObject redb.Core.Models.Contracts
M IsAncestorOf(ITreeRedbObject) Checks if current node is ancestor of specified node
M IsDescendantOf(ITreeRedbObject) Checks if current node is descendant of specified node
I ITreeRedbObject<TProps> redb.Core.Models.Contracts
C RedbServiceBase redb.Core
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser) Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject) Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
C TreeCollection redb.Core.Models.Collections
M Add(ITreeRedbObject) Adds node to collection and automatically builds hierarchy
M FindNodes(Func<ITreeRedbObject, bool>) Finds nodes by predicate
C TreeCollection<TProps> redb.Core.Models.Collections
M Add(ITreeRedbObject<TProps>) Adds typed node to collection
M FindNodes(Func<ITreeRedbObject<TProps>, bool>) Finds typed nodes by predicate
C TreeExtensions redb.Core.Utils
M BreadthFirstTraversal(ITreeRedbObject) Breadth-First Search tree traversal for polymorphic trees.
M BreadthFirstTraversal<TProps>(ITreeRedbObject<TProps>) Breadth-First Search tree traversal for typed trees.
M DepthFirstTraversal(ITreeRedbObject) Depth-First Search tree traversal - pre-order for polymorphic trees.
M DepthFirstTraversal<TProps>(ITreeRedbObject<TProps>) Depth-First Search tree traversal - pre-order for typed trees.
M FindById(ITreeRedbObject, long) Find node by ID in polymorphic tree.
M FindById<TProps>(ITreeRedbObject<TProps>, long) Find node by ID in typed tree.
M FindNodes(ITreeRedbObject, Func<ITreeRedbObject, bool>) Find nodes by predicate in polymorphic tree.
M FlattenWithLevels(ITreeRedbObject) Flattens polymorphic tree to list with level indicators.
M FlattenWithLevels<TProps>(ITreeRedbObject<TProps>) Flattens typed tree to list with level indicators.
M GetLeaves(ITreeRedbObject) Gets all leaf nodes of polymorphic tree.
M GetLeaves<TProps>(ITreeRedbObject<TProps>) Gets all leaf nodes of typed tree.
M GetMaterializedPath(ITreeRedbObject, string) Builds materialized path for polymorphic node.
M GetMaterializedPath<TProps>(ITreeRedbObject<TProps>, string) Builds materialized path for typed node.
M GetNodesAtLevel(ITreeRedbObject, int) Gets all nodes at specific level in polymorphic tree.
M GetNodesAtLevel<TProps>(ITreeRedbObject<TProps>, int) Gets all nodes at specific level in typed tree.
M IsBalanced(ITreeRedbObject) Checks if polymorphic tree is balanced (subtree depth difference does not exceed 1).
M IsBalanced<TProps>(ITreeRedbObject<TProps>) Checks if typed tree is balanced (subtree depth difference does not exceed 1).
M PostOrderTraversal(ITreeRedbObject) Depth-First Search tree traversal - post-order for polymorphic trees.
M PostOrderTraversal<TProps>(ITreeRedbObject<TProps>) Depth-First Search tree traversal - post-order for typed trees.
C TreeObjectConverter redb.Core.Utils
M BuildParentRelationships(IEnumerable<ITreeRedbObject>) Build Parent relationships for a collection of polymorphic tree objects.
M BuildParentRelationships<TProps>(IEnumerable<TreeRedbObject<TProps>>) Build Parent relationships for a collection of tree objects.
C TreeProviderBase redb.Core.Providers.Base
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser) Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject) Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
C TreeRedbObject redb.Core.Models.Entities
M IsAncestorOf(ITreeRedbObject) Checks if current node is ancestor of specified node
M IsDescendantOf(ITreeRedbObject) Checks if current node is descendant of specified node
C TreeRedbObject<TProps> redb.Core.Models.Entities
M IsAncestorOf(ITreeRedbObject) Checks if current node is ancestor of specified node
M IsDescendantOf(ITreeRedbObject) Checks if current node is descendant of specified node