yavsc/yavscModel/FrontOffice/Catalog/Configuration/CatalogProvidersConfigurati...

27 lines
636 B
C#

using System;
using System.Configuration;
using System.ComponentModel;
namespace Yavsc.Model.FrontOffice.Configuration
{
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;
}
}
}