View Source
Class PartialViewsTreeController
Tree for displaying partial views in the settings app
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[Authorize(Policy = "TreeAccessPartialViews")]
public class PartialViewsTreeController : FileSystemTreeController
Constructors
View Source
Declaration
public PartialViewsTreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, IMenuItemCollectionFactory menuItemCollectionFactory, FileSystems fileSystems, IEventAggregator eventAggregator)
Parameters
| Type |
Name |
Description |
| ILocalizedTextService |
localizedTextService |
|
| UmbracoApiControllerTypeCollection |
umbracoApiControllerTypeCollection |
|
| IMenuItemCollectionFactory |
menuItemCollectionFactory |
|
| FileSystems |
fileSystems |
|
| IEventAggregator |
eventAggregator |
|
Properties
View Source
Extensions
Declaration
protected override string[] Extensions { get; }
Property Value
| Type |
Description |
| System.String[] |
|
View Source
FileIcon
Declaration
protected override string FileIcon { get; }
Property Value
| Type |
Description |
| System.String |
|
View Source
FileSystem
Declaration
protected override IFileSystem? FileSystem { get; }
Property Value
| Type |
Description |
| System.Nullable<IFileSystem> |
|