The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

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

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v19.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

Name Type Description
mvcBuilder IMvcBuilder

An interface for configuring MVC services.

configure Action<DashboardConfigurator, IServiceProvider>

A delegate that provides access to the DashboardConfigurator settings.

Returns

Type Description
IMvcBuilder

An interface for configuring MVC services.

See Also