27 lines
636 B
C#
27 lines
636 B
C#
10 years ago
|
using System;
|
||
|
using System.Configuration;
|
||
|
using System.ComponentModel;
|
||
|
|
||
10 years ago
|
namespace Yavsc.Model.FrontOffice.Configuration
|
||
10 years ago
|
{
|
||
|
public class CatalogProvidersConfigurationCollection : ConfigurationElementCollection
|
||
|
{
|
||
|
protected override ConfigurationElement CreateNewElement ()
|
||
|
{
|
||
|
return new CatalogProviderConfigurationElement();
|
||
|
}
|
||
|
|
||
|
protected override object GetElementKey (ConfigurationElement element)
|
||
|
{
|
||
|
return ((CatalogProviderConfigurationElement) element).Name;
|
||
|
}
|
||
|
|
||
|
public CatalogProviderConfigurationElement GetElement (string name)
|
||
|
{
|
||
|
return this.BaseGet(name) as CatalogProviderConfigurationElement;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|