Method GetDescendantsAsync<TProps>(IRedbObject, int?, CancellationToken)

Assembly: redb.Core.dll

Get all object descendants (uses _securityContext and config.DefaultCheckPermissionsOnLoad).

public Task<IEnumerable<TreeRedbObject<TProps>>> GetDescendantsAsync<TProps>(IRedbObject parentObj, int? maxDepth = null, CancellationToken cancellationToken = default) where TProps : class, new()