Class DashboardRepository

Inheritance
System.Object
DashboardRepository
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Dashboard
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IDashboardRepository))]
[Obsolete("The EPiServer 6 Dashboard has been replaced with EPiServer.ViewComposition namespace.")]
public class DashboardRepository : IDashboardRepository

Constructors

DashboardRepository(IGadgetFactory, DynamicDataStoreFactory)

Declaration
public DashboardRepository(IGadgetFactory gadgetFactory, DynamicDataStoreFactory storeFactory)
Parameters
Type Name Description
IGadgetFactory gadgetFactory
DynamicDataStoreFactory storeFactory

Methods

Create(Dashboard)

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

Delete(Dashboard)

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

Save(Dashboard)

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

TryGet(Guid, out Dashboard)

Declaration
public 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
public bool TryGet(string userName, out Dashboard dashboard)
Parameters
Type Name Description
System.String userName
Dashboard dashboard
Returns
Type Description
System.Boolean

Events

Creating

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

Deleting

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

Loaded

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

Saving

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

Implements

Extension Methods