MvcBuilderExtension.AddDefaultDashboardController(IMvcBuilder, Action<DashboardConfigurator, IServiceProvider>) Method

Adds the dashboard controller and provides access to the DashboardConfigurator settings.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v18.1.AspNetCore.dll

Declaration

public static IMvcBuilder AddDefaultDashboardController(
    this IMvcBuilder mvcBuilder,
    Action<DashboardConfigurator, IServiceProvider> configure
)
<ExtensionAttribute>
Public Shared Function AddDefaultDashboardController(
    mvcBuilder As IMvcBuilder,
    configure As Action(Of DashboardConfigurator, IServiceProvider)
) As IMvcBuilder

Parameters

Type Name Description
IMvcBuilder mvcBuilder

An interface for configuring MVC services.

Action<DashboardConfigurator, IServiceProvider> configure

A delegate that provides access to the DashboardConfigurator settings.

Returns

Type Description
IMvcBuilder

An interface for configuring MVC services.

See Also