using System;
using System.Configuration;
using System.ComponentModel;
namespace Yavsc.Model.Blogs.Configuration
{
/// <summary>
/// Blog providers configuration collection.
/// </summary>
public class BlogProvidersConfigurationCollection : ConfigurationElementCollection
/// Creates the new element.
/// <returns>The new element.</returns>
protected override ConfigurationElement CreateNewElement ()
return new BlogProviderConfigurationElement();
}
/// Gets the element key.
/// <returns>The element key.</returns>
/// <param name="element">Element.</param>
protected override object GetElementKey (ConfigurationElement element)
return ((BlogProviderConfigurationElement) element).Name;
/// Gets the element.
/// <returns>The element.</returns>
/// <param name="name">Name.</param>
public BlogProviderConfigurationElement GetElement (string name)
return this.BaseGet(name) as BlogProviderConfigurationElement;