websitepanel/WebsitePanel/Sources/WebsitePanel.WebDavPortal/WebConfigSections/FileIconsElement.cs
2014-12-03 11:43:26 +03:00

24 lines
No EOL
737 B
C#

using System.Configuration;
namespace WebsitePanel.WebDavPortal.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; }
}
}
}