IriParsingElement
namespace System.Configuration
{
public sealed class IriParsingElement : ConfigurationElement
{
internal const bool EnabledDefaultValue = false;
private readonly ConfigurationPropertyCollection _properties = new ConfigurationPropertyCollection();
private readonly ConfigurationProperty _enabled = new ConfigurationProperty("enabled", typeof(bool), false, ConfigurationPropertyOptions.None);
protected internal override ConfigurationPropertyCollection Properties => _properties;
[ConfigurationProperty("enabled", DefaultValue = false)]
public bool Enabled {
get {
return (bool)base[_enabled];
}
set {
base[_enabled] = value;
}
}
public IriParsingElement()
{
_properties.Add(_enabled);
}
}
}