Class UrlService

Represents URL service.

Inheritance
System.Object
UrlService
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Engine.Navigation
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
[Obsolete("This class should no longer be used. Use UrlResolver instead. Will remain at least until April 2016.")]
public class UrlService

Constructors

UrlService()

Declaration
public UrlService()

Properties

Provider

Gets the provider.

Declaration
[Obsolete("This property should no longer be used. Use UrlResolver instead. Will remain at least until April 2016.")]
public UrlProvider Provider { get; set; }
Property Value
Type Description
UrlProvider

The provider.

Providers

Gets the providers.

Declaration
[Obsolete("This property should no longer be used. Use UrlResolver instead. Will remain at least until April 2016.")]
public UrlProviderCollection Providers { get; }
Property Value
Type Description
UrlProviderCollection

The providers.

Methods

GetUrl(String)

Gets the URL.

Declaration
[Obsolete("This method should no longer be used. Use UrlResolver instead. Use this method can leads to Unable to load default UrlProvider problem. Will remain at least until April 2016.")]
public static 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. Use this method can leads to Unable to load default UrlProvider problem. Will remain at least until April 2016.")]
public static 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. Use this method can leads to Unable to load default UrlProvider problem. Will remain at least until April 2016.")]
public static 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