Skip to main content
.NET Framework 4.5.2+

IUriProviderService.RegisterProvider(IUriProvider) Method

Registers the URI provider and makes it available to clients of the service.

Namespace: DevExpress.Office.Services

Assembly: DevExpress.Office.v22.2.Core.dll

NuGet Package: DevExpress.Office.Core

Declaration

void RegisterProvider(
    IUriProvider provider
)

Parameters

Name Type Description
provider IUriProvider

An object which exposes the IUriProvider interface.

Remarks

Use the RegisterProvider method to add a custom provider object that is used by a IUriProviderService service to construct the URI.

The RegisterProvider method inserts the specified provider at the beginning of the provider list. When the IUriProviderService.CreateCssUri or the IUriProviderService.CreateImageUri methods are called, this provider will be polled first.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RegisterProvider(IUriProvider) 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