Sisk

Enum

InitializationParameterCollection.GetValueOption

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

Represents the option used in the method GetValueOrThrow.

C#
public enum InitializationParameterCollection.GetValueOption

Fields #

NameDescription
NotNull = 0The method should throw if the value is not present in the collection, but allow empty values.
NotNullOrEmpty = 1The method should throw if the value is not present in the collection or has an empty value.
NotNullOrWhiteSpace = 2The method should throw if the value is not present in the collection, has an empty value or consists of whitespaces (spaces, tabs, etc.).

Type to search the documentation and the API reference.