xtrareports-devexpress-dot-xtrareports-dot-web-dot-reportdesigner-dot-defaultreportdesignercontainer-dot-register-2.md
Adds the specified service to the service container.
Namespace : DevExpress.XtraReports.Web.ReportDesigner
Assembly : DevExpress.XtraReports.v25.2.Web.dll
NuGet Package : DevExpress.Web.Reporting.Common
public static void Register<T, TImpl>()
where TImpl : T
Public Shared Sub Register(Of T, TImpl As T)
| Name |
|---|
| T |
| TImpl |
The following code snippets (auto-collected from DevExpress Examples) contain references to the Register<T, TImpl>() 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.
reporting-mvc-create-report-at-runtime/CS/ReportAtRuntimeMvcApp/Global.asax.cs#L27
DevExpress.XtraReports.Web.WebDocumentViewer.DefaultWebDocumentViewerContainer.Register<IReportProvider, CustomReportProvider>();
DevExpress.XtraReports.Web.ReportDesigner.DefaultReportDesignerContainer.Register<IReportProvider, CustomReportProvider>();
reporting-web-forms-handle-server-side-errors/CS/DXWebApplication1/Global.asax.cs#L20
DevExpress.XtraReports.Web.WebDocumentViewer.DefaultWebDocumentViewerContainer.Register<IWebDocumentViewerExceptionHandler, CustomWebDocumentViewerExceptionHandler>();
DevExpress.XtraReports.Web.ReportDesigner.DefaultReportDesignerContainer.Register<IReportDesignerExceptionHandler, CustomReportDesignerExceptionHandler>();
ASPxReportDesigner.StaticInitialize();
DevExpress.XtraReports.Web.WebDocumentViewer.DefaultWebDocumentViewerContainer.Register(Of IReportProvider, CustomReportProvider)()
DevExpress.XtraReports.Web.ReportDesigner.DefaultReportDesignerContainer.Register(Of IReportProvider, CustomReportProvider)()
System.Net.ServicePointManager.SecurityProtocol = System.Net.ServicePointManager.SecurityProtocol Or System.Net.SecurityProtocolType.Tls12
reporting-web-forms-handle-server-side-errors/VB/DXWebApplication1/Global.asax.vb#L22
DevExpress.XtraReports.Web.WebDocumentViewer.DefaultWebDocumentViewerContainer.Register(Of IWebDocumentViewerExceptionHandler, CustomWebDocumentViewerExceptionHandler)()
DevExpress.XtraReports.Web.ReportDesigner.DefaultReportDesignerContainer.Register(Of IReportDesignerExceptionHandler, CustomReportDesignerExceptionHandler)()
ASPxReportDesigner.StaticInitialize()
See Also
DefaultReportDesignerContainer Class