websitepanel/WebsitePanel/Sources/WebsitePanel.WebDav.Core/Config/WebConfigSections/FileIconsElement.cs
2015-01-13 04:18:56 -08:00

24 lines
No EOL
743 B
C#

using System.Configuration;
namespace WebsitePanel.WebDav.Core.Config.WebConfigSections
{
public class FileIconsElement : ConfigurationElement
{
private const string ExtensionKey = "extension";
private const string PathKey = "path";
[ConfigurationProperty(ExtensionKey, IsKey = true, IsRequired = true)]
public string Extension
{
get { return (string) this[ExtensionKey]; }
set { this[ExtensionKey] = value; }
}
[ConfigurationProperty(PathKey, IsKey = true, IsRequired = true)]
public string Path
{
get { return (string) this[PathKey]; }
set { this[PathKey] = value; }
}
}
}