mscorlib(4.0.0.0) API with additions
AuthenticationModuleElement.cs
2 
4 {
6  public sealed class AuthenticationModuleElement : ConfigurationElement
7  {
8  private ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
9 
10  private readonly ConfigurationProperty type = new ConfigurationProperty("type", typeof(string), null, ConfigurationPropertyOptions.IsKey);
11 
12  protected internal override ConfigurationPropertyCollection Properties
13  {
14  protected get
15  {
16  return properties;
17  }
18  }
19 
22  [ConfigurationProperty("type", IsRequired = true, IsKey = true)]
23  public string Type
24  {
25  get
26  {
27  return (string)base[type];
28  }
29  set
30  {
31  base[type] = value;
32  }
33  }
34 
35  internal string Key => Type;
36 
39  {
40  properties.Add(type);
41  }
42 
45  public AuthenticationModuleElement(string typeName)
46  : this()
47  {
48  if (typeName != (string)type.DefaultValue)
49  {
50  Type = typeName;
51  }
52  }
53  }
54 }
Definition: __Canon.cs:3
Represents the type information for an authentication module. This class cannot be inherited.
Represents type declarations: class types, interface types, array types, value types,...
Definition: Type.cs:18
AuthenticationModuleElement()
Initializes a new instance of the T:System.Net.Configuration.AuthenticationModuleElement class.
string Type
Gets or sets the type and assembly information for the current instance.
AuthenticationModuleElement(string typeName)
Initializes a new instance of the T:System.Net.Configuration.AuthenticationModuleElement class with t...