2012-08-13 13:26:06 -01:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Configuration;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Core.Configuration
|
|
|
|
|
|
{
|
|
|
|
|
|
[ConfigurationCollection(typeof(FileSystemProviderElement), AddItemName = "Provider")]
|
2017-07-20 11:21:28 +02:00
|
|
|
|
public class FileSystemProviderElementCollection : ConfigurationElementCollection
|
2012-08-13 13:26:06 -01:00
|
|
|
|
{
|
|
|
|
|
|
protected override ConfigurationElement CreateNewElement()
|
|
|
|
|
|
{
|
|
|
|
|
|
return new FileSystemProviderElement();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected override object GetElementKey(ConfigurationElement element)
|
|
|
|
|
|
{
|
|
|
|
|
|
return ((FileSystemProviderElement)(element)).Alias;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
new public FileSystemProviderElement this[string key]
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return (FileSystemProviderElement)BaseGet(key);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|