2014-07-16 20:35:03 +02:00
|
|
|
using System;
|
|
|
|
|
using System.Configuration;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
2015-01-28 15:04:07 +01:00
|
|
|
namespace Yavsc.Model.FrontOffice.Configuration
|
2014-07-16 20:35:03 +02:00
|
|
|
{
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|