Interface IDashboard
Represents a dashboard.
Namespace: Umbraco.Cms.Core.Dashboards
Assembly: Umbraco.Core.dll
Syntax
public interface IDashboard : IDashboardSlim
Properties
View SourceAccessRules
Gets the access rule determining the visibility of the dashboard.
Declaration
[DataMember(Name = "access")]
IAccessRule[] AccessRules { get; }
Property Value
Type | Description |
---|---|
IAccessRule[] |
Remarks
This field is not needed by the UI and therefore we want to exclude it from serialization, but it is deserialized as part of the manifest, therefore we cannot plainly ignore it.
So, it has to remain a data member, plus we use our special JsonDontSerialize attribute (see attribute for more details).
Sections
Gets the aliases of sections/applications where this dashboard appears.
Declaration
[DataMember(Name = "sections")]
string[] Sections { get; }
Property Value
Type | Description |
---|---|
System.String[] |
Remarks
This field is not needed by the UI and therefore we want to exclude it from serialization, but it is deserialized as part of the manifest, therefore we cannot plainly ignore it.
So, it has to remain a data member, plus we use our special JsonDontSerialize attribute (see attribute for more details).