View Source
Inheritance
System.Object
Assembly: Umbraco.Web.dll
[Tree("settings", "mediaTypes", SortOrder = 1, TreeGroup = "settingsGroup")]
[PluginController("UmbracoTrees")]
public class MediaTypeTreeController : TreeController, ISearchableTree, IDiscoverable
Constructors
View Source
MediaTypeTreeController(UmbracoTreeSearcher, IGlobalSettings, IUmbracoContextAccessor, ISqlContext, ServiceContext, AppCaches, IProfilingLogger, IRuntimeState, UmbracoHelper, IMediaTypeService)
Declaration
public MediaTypeTreeController(UmbracoTreeSearcher treeSearcher, IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, UmbracoHelper umbracoHelper, IMediaTypeService mediaTypeService)
Parameters
Methods
View Source
Declaration
protected override MenuItemCollection GetMenuForNode(string id, FormDataCollection queryStrings)
Parameters
Type |
Name |
Description |
System.String |
id |
|
FormDataCollection |
queryStrings |
|
Returns
View Source
Declaration
protected override TreeNodeCollection GetTreeNodes(string id, FormDataCollection queryStrings)
Parameters
Type |
Name |
Description |
System.String |
id |
|
FormDataCollection |
queryStrings |
|
Returns
View Source
Declaration
public IEnumerable<SearchResultEntity> Search(string query, int pageSize, long pageIndex, out long totalFound, string searchFrom = null)
Parameters
Type |
Name |
Description |
System.String |
query |
|
System.Int32 |
pageSize |
|
System.Int64 |
pageIndex |
|
System.Int64 |
totalFound |
|
System.String |
searchFrom |
|
Returns