using System; using System.Configuration; using System.ComponentModel; namespace Yavsc.Model.FrontOffice.Configuration { /// /// Catalog providers configuration section. /// public class CatalogProvidersConfigurationSection : ConfigurationSection { /// /// Gets or sets the default provider. /// /// The default provider. [ConfigurationProperty("defaultProvider")] public string DefaultProvider { get { return (string)base ["defaultProvider"]; } set { base ["defaultProvider"] = value; } } /// /// Gets or sets the providers. /// /// The providers. [ConfigurationProperty("providers")] [ConfigurationCollection(typeof(CatalogProvidersConfigurationCollection), AddItemName = "add", ClearItemsName = "clear", RemoveItemName = "remove")] public CatalogProvidersConfigurationCollection Providers{ get { return (CatalogProvidersConfigurationCollection) base ["providers"]; } set { base ["providers"] = value; } } } }