UriSection
Represents the Uri section within a configuration file.
namespace System.Configuration
{
public sealed class UriSection : ConfigurationSection
{
private static readonly ConfigurationPropertyCollection _properties;
private static readonly ConfigurationProperty _idn;
private static readonly ConfigurationProperty _iriParsing;
private static readonly ConfigurationProperty _schemeSettings;
[ConfigurationProperty("idn")]
public IdnElement Idn {
get {
return (IdnElement)base[_idn];
}
}
[ConfigurationProperty("iriParsing")]
public IriParsingElement IriParsing {
get {
return (IriParsingElement)base[_iriParsing];
}
}
[ConfigurationProperty("schemeSettings")]
public SchemeSettingElementCollection SchemeSettings {
get {
return (SchemeSettingElementCollection)base[_schemeSettings];
}
}
protected internal override ConfigurationPropertyCollection Properties => _properties;
static UriSection()
{
_properties = new ConfigurationPropertyCollection();
_idn = new ConfigurationProperty("idn", typeof(IdnElement), null, ConfigurationPropertyOptions.None);
_iriParsing = new ConfigurationProperty("iriParsing", typeof(IriParsingElement), null, ConfigurationPropertyOptions.None);
_schemeSettings = new ConfigurationProperty("schemeSettings", typeof(SchemeSettingElementCollection), null, ConfigurationPropertyOptions.None);
_properties.Add(_idn);
_properties.Add(_iriParsing);
_properties.Add(_schemeSettings);
}
}
}