Class UrlProviderCollection

Represents URL provider collection.

Inheritance
System.Object
UrlProviderCollection
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 UrlProviderCollection : ProviderCollection

Constructors

UrlProviderCollection()

Declaration
public UrlProviderCollection()

Properties

Item[String]

Gets the UrlProvider with the specified name.

Declaration
public UrlProvider this[string name] { get; }
Parameters
Type Name Description
System.String name
Property Value
Type Description
UrlProvider

Methods

Add(ProviderBase)

Adds a provider to the collection.

Declaration
public override void Add(ProviderBase provider)
Parameters
Type Name Description
System.Configuration.Provider.ProviderBase provider

The provider to be added.

Exceptions
Type Condition
System.NotSupportedException

The collection is read-only.

System.ArgumentNullException

provider is null.

System.ArgumentException

The System.Configuration.Provider.ProviderBase.Name of provider is null.

  • or - The length of the System.Configuration.Provider.ProviderBase.Name of provider is less than 1.