Files
yavsc/yavscModel/Blogs/Configuration/BlogProvidersConfigurationCollection.cs
Paul Schneider b5d19c5da6 refactoring
2014-10-08 10:47:40 +02:00

27 lines
615 B
C#

using System;
using System.Configuration;
using System.ComponentModel;
namespace Yavsc.Model.Blogs.Configuration
{
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;
}
}
}