Class TemplateProviderCollection
Implements operations for the commerce enginer template provider collection. (Inherits System.Configuration.Provider.ProviderCollection.)
Inheritance
System.Object
TemplateProviderCollection
Namespace: Mediachase.Commerce.Engine.Template
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class TemplateProviderCollection : ProviderCollection
Constructors
TemplateProviderCollection()
Declaration
public TemplateProviderCollection()
Properties
Item[String]
Gets the TemplateProvider with the specified name.
Declaration
public TemplateProvider this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type | Description |
---|---|
TemplateProvider |
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 |
|
System.ArgumentException | The System.Configuration.Provider.ProviderBase.Name of |