All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ReportDesignerConfigurationBuilder.RegisterObjectDataSourceConstructorFilterService<T>() Method

Registers a class that implements the IObjectDataSourceConstructorFilterService interface to filter type constructors in the Report Wizard and Data Source Wizard.

Namespace: DevExpress.AspNetCore.Reporting

Assembly: DevExpress.AspNetCore.Reporting.v21.1.dll

Declaration

public ReportDesignerConfigurationBuilder RegisterObjectDataSourceConstructorFilterService<T>()
    where T : class, IObjectDataSourceConstructorFilterService

Type Parameters

Name Description
T

The type of the class that implements the IObjectDataSourceConstructorFilterService interface.

Returns

Type Description
ReportDesignerConfigurationBuilder

A ReportDesignerConfigurationBuilder class instance.

Remarks

A class that implements the IObjectDataSourceConstructorFilterService interface produces a filtered list of type constructors for the Report Wizard and Data Source Wizard. The RegisterObjectDataSourceConstructorFilterService<T>() method registers this class. Call this method at the application’s start.

A registered class should provide a complete list of constructors that are invoked to create an object data source. Classes passed in previous RegisterObjectDataSourceConstructorFilterService<T>() method calls are unregistered when you call this method again.

If the type’s constructor list is not provided or an IObjectDataSourceConstructorFilterService interface is not implemented or registered, the Report Wizard and Data Source Wizard display all constructors.

See the Business Object - Register Types topic for information on how to implement and register the IObjectDataSourceConstructorFilterService interface to filter type constructors.

See Also