27 lines
615 B
C#
27 lines
615 B
C#
10 years ago
|
using System;
|
||
|
using System.Configuration;
|
||
|
using System.ComponentModel;
|
||
|
|
||
10 years ago
|
namespace Yavsc.Model.Blogs.Configuration
|
||
10 years ago
|
{
|
||
|
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;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|