Interface IDynamicRootService
Supports finding content roots for pickers (like MNTP) in a dynamic fashion
Namespace: Umbraco.Cms.Core.DynamicRoot
Assembly: Umbraco.Core.dll
Syntax
public interface IDynamicRootService
Methods
View SourceGetDynamicRootsAsync(DynamicRootNodeQuery)
Gets the dynamic root content keys based on the specified query.
Declaration
Task<IEnumerable<Guid>> GetDynamicRootsAsync(DynamicRootNodeQuery dynamicRootNodeQuery)
Parameters
| Type | Name | Description |
|---|---|---|
| DynamicRootNodeQuery | dynamicRootNodeQuery | The query specifying the origin, context, and optional query steps for finding dynamic roots. |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<Guid>> | A task that represents the asynchronous operation, containing a collection of unique identifiers for the resolved dynamic root content items. |