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