Skip to main content

IUriProviderService.RegisterProvider(IUriProvider) Method

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

Namespace: DevExpress.Office.Services

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

NuGet Packages: DevExpress.Office.Core, DevExpress.Win.Navigation


void RegisterProvider(
    IUriProvider provider


Name Type Description
provider IUriProvider

An object which exposes the IUriProvider interface.


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.


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