London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class ImageProviderCollection

Implements operations for the image provider collection. (Inherits System.Configuration.Provider.ProviderCollection.)

Inheritance
System.Object
ImageProviderCollection
Namespace: Mediachase.Commerce.Engine.Images
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public class ImageProviderCollection : ProviderCollection

Constructors

ImageProviderCollection()

Declaration
public ImageProviderCollection()

Properties

Item[String]

Gets the ImageProvider with the specified name.

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

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.