View Source
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
public class MediaTreeControllerBase : UserStartNodeTreeControllerBase<MediaTreeItemResponseModel>
Constructors
View Source
Declaration
public MediaTreeControllerBase(IEntityService entityService, IUserStartNodeEntitiesService userStartNodeEntitiesService, IDataTypeService dataTypeService, AppCaches appCaches, IBackOfficeSecurityAccessor backofficeSecurityAccessor, IMediaPresentationFactory mediaPresentationFactory)
Parameters
Properties
View Source
Declaration
protected override UmbracoObjectTypes ItemObjectType { get; }
Property Value
Type |
Description |
UmbracoObjectTypes |
|
View Source
Declaration
protected override Ordering ItemOrdering { get; }
Property Value
Type |
Description |
Ordering |
|
Methods
View Source
Declaration
protected override int[] GetUserStartNodeIds()
Returns
Type |
Description |
System.Int32[] |
|
View Source
Declaration
protected override string[] GetUserStartNodePaths()
Returns
Type |
Description |
System.String[] |
|
View Source
Declaration
protected override MediaTreeItemResponseModel MapTreeItemViewModel(Guid? parentKey, IEntitySlim entity)
Parameters
Type |
Name |
Description |
System.Nullable<Guid> |
parentKey |
|
IEntitySlim |
entity |
|
Returns