yavsc/yavscModel/Blogs/Configuration/BlogProvidersConfigurationCollection.cs

26 lines
615 B
C#
Raw Normal View History

2014-07-16 20:35:03 +02:00
using System;
using System.Configuration;
using System.ComponentModel;
2014-10-08 10:47:40 +02:00
namespace Yavsc.Model.Blogs.Configuration
2014-07-16 20:35:03 +02:00
{
public class BlogProvidersConfigurationCollection : ConfigurationElementCollection
{
protected override ConfigurationElement CreateNewElement ()
{
return new BlogProviderConfigurationElement();
}
protected override object GetElementKey (ConfigurationElement element)
{
return ((BlogProviderConfigurationElement) element).Name;
}
public BlogProviderConfigurationElement GetElement (string name)
{
return this.BaseGet(name) as BlogProviderConfigurationElement;
}
}
}