DashboardConfigurator.CustomAssemblyLoading Event
Occurs before a custom assembly is loaded for use as DashboardEFDataSource.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v24.2.Web.dll
NuGet Package: DevExpress.Web.Dashboard.Common
#Declaration
public event CustomAssemblyLoadingWebEventHandler CustomAssemblyLoading
#Event Data
The CustomAssemblyLoading event's data class is CustomAssemblyLoadingWebEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Allow |
Gets or sets whether loading a custom assembly is allowed.
Inherited from Dashboard |
Assembly |
Gets the path to the external assembly containing the Entity Framework model.
Inherited from Dashboard |
Context |
Gets the name of the Entity Framework context.
Inherited from Dashboard |
Dashboard |
Gets the dashboard identifier. |
Data |
Gets the component name of the Entity Framework data source.
Inherited from Dashboard |
Data |
Gets the name of the Entity Framework data source.
Inherited from Dashboard |
#Remarks
Tip
For information on how to use the Dashboard
The CustomAssemblyLoadingProhibitedException is thrown if the external assembly containing the Entity Framework model provides data for the DashboardEFDataSource.
You can use the CustomAssemblyLoading event to allow loading a custom assembly. To do this, set the DashboardCustomAssemblyLoadingEventArgs.AllowLoading event parameter to true.