mscorlib(4.0.0.0) API with additions
SchemeSettingElement.cs
1 namespace System.Configuration
2 {
4  public sealed class SchemeSettingElement : ConfigurationElement
5  {
6  private static readonly ConfigurationPropertyCollection properties;
7 
8  private static readonly ConfigurationProperty name;
9 
10  private static readonly ConfigurationProperty genericUriParserOptions;
11 
14  [ConfigurationProperty("name", DefaultValue = null, IsRequired = true, IsKey = true)]
15  public string Name
16  {
17  get
18  {
19  return (string)base[name];
20  }
21  }
22 
25  [ConfigurationProperty("genericUriParserOptions", DefaultValue = ConfigurationPropertyOptions.None, IsRequired = true)]
27  {
28  get
29  {
30  return (GenericUriParserOptions)base[genericUriParserOptions];
31  }
32  }
33 
34  protected internal override ConfigurationPropertyCollection Properties
35  {
36  protected get
37  {
38  return properties;
39  }
40  }
41 
42  static SchemeSettingElement()
43  {
44  name = new ConfigurationProperty("name", typeof(string), null, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
45  genericUriParserOptions = new ConfigurationProperty("genericUriParserOptions", typeof(GenericUriParserOptions), GenericUriParserOptions.Default, ConfigurationPropertyOptions.IsRequired);
46  properties = new ConfigurationPropertyCollection();
47  properties.Add(name);
48  properties.Add(genericUriParserOptions);
49  }
50  }
51 }
GenericUriParserOptions
Specifies options for a T:System.UriParser.
Represents an element in a T:System.Configuration.SchemeSettingElementCollection class.
string Name
Gets the value of the Name entry from a T:System.Configuration.SchemeSettingElement instance.
GenericUriParserOptions GenericUriParserOptions
Gets the value of the GenericUriParserOptions entry from a T:System.Configuration....