using System; using System.Configuration; namespace WorkFlowProvider.Configuration { public class WorkflowConfiguration : 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(WFProvider), AddItemName = "add", ClearItemsName = "clear", RemoveItemName = "remove")] public WFProviderCollection Providers { get { return this["providers"] as WFProviderCollection; } set { this["providers"]=value; } } } }