Method LoadPolymorphicTreeAsync(IRedbObject, int?, CancellationToken)

Assembly: redb.Core.dll

Load polymorphic tree/subtree - supports objects of different schemes in one tree.
Uses _securityContext and config.DefaultCheckPermissionsOnLoad.

public Task<ITreeRedbObject> LoadPolymorphicTreeAsync(IRedbObject rootObj, int? maxDepth = null, CancellationToken cancellationToken = default)