Sisk

Class

InitializationParameterCollection

Namespace
Sisk.Core.Http.Hosting
Assembly
Sisk.Core.dll

Provides a collection of HTTP server initialization variables.

C#
public sealed class InitializationParameterCollection : IDictionary<string, string?>, ICollection<KeyValuePair<string, string?>>, IEnumerable<KeyValuePair<string, string?>>, IEnumerable

Inheritance #

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 #

NameDescription
InitializationParameterCollection()

Methods #

NameDescription
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.

Type to search the documentation and the API reference.