Interface IDashboardRepository

Namespace: EPiServer.Shell.Dashboard
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
[Obsolete("The EPiServer 6 Dashboard has been replaced with EPiServer.ViewComposition namespace.")]
public interface IDashboardRepository

Methods

Create(Dashboard)

Declaration
void Create(Dashboard dashboard)
Parameters
Type Name Description
Dashboard dashboard

Delete(Dashboard)

Declaration
void Delete(Dashboard dashboard)
Parameters
Type Name Description
Dashboard dashboard

Save(Dashboard)

Declaration
void Save(Dashboard dashboard)
Parameters
Type Name Description
Dashboard dashboard

TryGet(Guid, out Dashboard)

Declaration
bool TryGet(Guid id, out Dashboard dashboard)
Parameters
Type Name Description
System.Guid id
Dashboard dashboard
Returns
Type Description
System.Boolean

TryGet(String, out Dashboard)

Declaration
bool TryGet(string userName, out Dashboard dashboard)
Parameters
Type Name Description
System.String userName
Dashboard dashboard
Returns
Type Description
System.Boolean

Events

Creating

Declaration
event EventHandler<DashboardEventArgs> Creating
Event Type
Type Description
System.EventHandler<DashboardEventArgs>

Deleting

Declaration
event EventHandler<DashboardEventArgs> Deleting
Event Type
Type Description
System.EventHandler<DashboardEventArgs>

Loaded

Declaration
event EventHandler<DashboardEventArgs> Loaded
Event Type
Type Description
System.EventHandler<DashboardEventArgs>

Saving

Declaration
event EventHandler<DashboardEventArgs> Saving
Event Type
Type Description
System.EventHandler<DashboardEventArgs>

Extension Methods