Interface IAssetFolderTreeViewProvider
Interface for loading asset folders for the library.
[Obsolete("Interface was not intended for public use and will be removed in the next version.")]
[ObsoleteSince(26, 0)]
public interface IAssetFolderTreeViewProvider
- Extension Methods
Methods
Get(int, string)
Gets child folders of given folder path based on given library identifier.
Task<IEnumerable<AssetFolderTreeViewItem>> Get(int libraryIdentifier, string folderPath)
Parameters
libraryIdentifier
intAssets library identifier.
folderPath
stringPath to the parent folder.
Returns
- Task<IEnumerable<AssetFolderTreeViewItem>>
Remarks
If folderPath
is null
or empty string, root folder together with direct child folders are returned. Otherwise direct child folders for given path are returned.
GetForSelection(int, string)
Gets folders from all levels leading to path provided in selectedFolderPath
.
Task<IEnumerable<AssetFolderTreeViewItem>> GetForSelection(int libraryIdentifier, string selectedFolderPath)
Parameters
libraryIdentifier
intAssets library identifier.
selectedFolderPath
stringPath to the parent folder.
Returns
- Task<IEnumerable<AssetFolderTreeViewItem>>