U4-6708 - DomainHepler internal methods

Created by Calvin Frei 15 Jun 2015, 14:47:45 Updated by Anthony 03 Nov 2016, 16:27:09

I have a custom UrlProvider which inherits from the IUrlProvider. Now I want to show all urls (with hostnames) in the backend with the GetOtherUrls() method from the IUrlProvider.

Some helpful methods in the DomainHelper are internal which I'd like to use:

DomainHelper.DomainsForNode(int nodeId, Uri current, bool excludeDefault = true); DomainHelper.DomainForNode(int nodeId, Uri current); DomainHelper.NodeHasDomains(int nodeId); (there are maybe others which could be helpful if they're public)

And also the AssembleUrl from the DefaultUrlProvider would be helpful.

Is it possible that they're not internal anymore?


Anthony 03 Nov 2016, 16:25:05

The new DomainService takes care of all these scenarios.

We should consider this issue closed.

Priority: Minor

Type: Cosmetics

State: Obsolete


Difficulty: Very Easy

Category: Extensibility

Backwards Compatible: True

Fix Submitted: None

Affected versions: 7.2.6

Due in version:


Story Points: