Class UrlProvider
Represents URL provider.
Namespace: Mediachase.Commerce.Engine.Navigation
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
[Obsolete("This class should no longer be used. Use UrlResolver instead. Will remain at least until April 2016.")]
public abstract class UrlProvider : ProviderBase
Constructors
UrlProvider()
Declaration
protected UrlProvider()
Methods
GetUrl(String)
Gets the URL.
Declaration
[Obsolete("This method should no longer be used. Use UrlResolver instead. Will remain at least until April 2016.")]
public abstract string GetUrl(string commandName)
Parameters
Type | Name | Description |
---|---|---|
System.String | commandName | Name of the command. |
Returns
Type | Description |
---|---|
System.String |
GetUrl(String, Object[])
Gets the URL.
Declaration
[Obsolete("This method should no longer be used. Use UrlResolver instead. Will remain at least until April 2016.")]
public abstract string GetUrl(string commandName, params object[] commandParams)
Parameters
Type | Name | Description |
---|---|---|
System.String | commandName | Name of the command. |
System.Object[] | commandParams | The command params. |
Returns
Type | Description |
---|---|
System.String |
ResolveUrl(Object, String)
Resolves the URL.
Declaration
[Obsolete("This method should no longer be used. Use UrlResolver instead. Will remain at least until April 2016.")]
public virtual string ResolveUrl(object source, string relativeUrl)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
System.String | relativeUrl | The relative URL. |
Returns
Type | Description |
---|---|
System.String |