Class
InitializationParameterCollection
Provides a collection of HTTP server initialization variables.
public sealed class InitializationParameterCollection : IDictionary<string, string?>, ICollection<KeyValuePair<string, string?>>, IEnumerable<KeyValuePair<string, string?>>, IEnumerableInheritance #
object ← InitializationParameterCollection
Implements #
IDictionary<string, string?>, ICollection<KeyValuePair<string, string?>>, IEnumerable<KeyValuePair<string, string?>>, IEnumerable
Inherited Members #
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors #
| Name | Description |
|---|---|
| InitializationParameterCollection() |
Methods #
| Name | Description |
|---|---|
| AsNameValueCollection() | Gets an instance of NameValueCollection with the values of this class. |
| EnsureNotNull(string) | Ensures that the parameter defined by name parameterName is present in this collection. |
| EnsureNotNullOrEmpty(string) | Ensures that the parameter defined by name parameterName is present and not empty in this collection. |
| GetStringValue(string) | Retrieves a StringValue instance representing the specified parameter. |
| GetValueOrThrow(string, GetValueOption) | Gets the specified value if present in this parameter collection, or throw an exception if the value is not present. |