View Source
Class DashboardController
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[PluginController("UmbracoApi")]
public class DashboardController : UmbracoApiController, IDiscoverable
Constructors
View Source
DashboardController(IGlobalSettings, IUmbracoContextAccessor, ISqlContext, ServiceContext, AppCaches, IProfilingLogger, IRuntimeState, IDashboardService, UmbracoHelper, IContentDashboardSettings)
Declaration
public DashboardController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, IDashboardService dashboardService, UmbracoHelper umbracoHelper, IContentDashboardSettings dashboardSettings)
Parameters
Methods
View Source
GetDashboard(String)
Declaration
public IEnumerable<Tab<IDashboardSlim>> GetDashboard(string section)
Parameters
Type |
Name |
Description |
System.String |
section |
|
Returns
View Source
GetRemoteDashboardContent(String, String)
Declaration
public async Task<JObject> GetRemoteDashboardContent(string section, string baseUrl = "https://dashboard.umbraco.com/")
Parameters
Type |
Name |
Description |
System.String |
section |
|
System.String |
baseUrl |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<JObject> |
|
View Source
GetRemoteDashboardCss(String, String)
Declaration
public async Task<HttpResponseMessage> GetRemoteDashboardCss(string section, string baseUrl = "https://dashboard.umbraco.org/")
Parameters
Type |
Name |
Description |
System.String |
section |
|
System.String |
baseUrl |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<HttpResponseMessage> |
|
View Source
GetRemoteXml(String, String)
Declaration
public async Task<HttpResponseMessage> GetRemoteXml(string site, string url)
Parameters
Type |
Name |
Description |
System.String |
site |
|
System.String |
url |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<HttpResponseMessage> |
|