Enum
InitializationParameterCollection.GetValueOption
Represents the option used in the method GetValueOrThrow.
public enum InitializationParameterCollection.GetValueOptionFields #
| Name | Description |
|---|---|
NotNull = 0 | The method should throw if the value is not present in the collection, but allow empty values. |
NotNullOrEmpty = 1 | The method should throw if the value is not present in the collection or has an empty value. |
NotNullOrWhiteSpace = 2 | The method should throw if the value is not present in the collection, has an empty value or consists of whitespaces (spaces, tabs, etc.). |