ReportDesignerConfigurationBuilder.RegisterObjectDataSourceMemberFilterService<T>() Method
Registers a class that implements the IObjectDataSourceMemberFilterService interface to filter type members in the Report Wizard and Data Source Wizard.
Namespace: DevExpress.AspNetCore.Reporting
Assembly: DevExpress.AspNetCore.Reporting.v25.2.dll
NuGet Package: DevExpress.AspNetCore.Reporting
Declaration
public ReportDesignerConfigurationBuilder RegisterObjectDataSourceMemberFilterService<T>()
where T : class, IObjectDataSourceMemberFilterService
Type Parameters
| Name | Description |
|---|---|
| T | The type of the class that implements the IObjectDataSourceMemberFilterService interface. |
Returns
| Type | Description |
|---|---|
| ReportDesignerConfigurationBuilder | A ReportDesignerConfigurationBuilder class instance. |
Remarks
A class that implements the IObjectDataSourceMemberFilterService interface produces the filtered list of type members for the Report Wizard and Data Source Wizard. The RegisterObjectDataSourceMemberFilterService<T>() method registers this class. Call this method at the application’s start.
A registered class should provide a complete list of type members. Classes passed in previous RegisterObjectDataSourceMemberFilterService<T>() method calls are unregistered when you call this method again.
If the type’s member list is not provided, or the IObjectDataSourceMemberFilterService interface is not implemented or registered, the Report Wizard and Data Source Wizard display all members.
See the Business Object - Register Types topic for information on how to implement and register the IObjectDataSourceMemberFilterService interface to filter type members.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RegisterObjectDataSourceMemberFilterService<T>() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.