Skip to main content
A newer version of this page is available. .

DefaultWebDocumentViewerContainer.RegisterSingleton<T, TImpl>() Method

Enables registering a custom service in a Web Document Viewer.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v18.2.Web.dll

Declaration

public static void RegisterSingleton<T, TImpl>()
    where TImpl : T

Type Parameters

Name
T
TImpl

Remarks

For a code example, see the WebDocumentViewerOperationLogger class description.

See Register Services in the Document Viewer for a complete list of available services and their registration methods.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RegisterSingleton<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.

See Also