C# Класс Qowaiv.Unknown

Helps handling the unknown status of Single Value Objects.
The 'unknown' case differences from the 'empty' case. Where 'empty' just means: Not set (yet), this is an unset (default) value, 'unknown' means that the user has set the value, saying, there must be some value, but I just don't know which value it should be. Note that not all scenario's that support 'empty' support 'unknown' too.
Показать файл Открыть проект

Открытые методы

Метод Описание
IsUnknown ( string val ) : bool

Returns true if the string represents unknown, otherwise false.

IsUnknown ( string val, CultureInfo culture ) : bool

Returns true if the string represents unknown, otherwise false.

Описание методов

IsUnknown() публичный статический Метод

Returns true if the string represents unknown, otherwise false.
public static IsUnknown ( string val ) : bool
val string /// The string value to test. ///
Результат bool

IsUnknown() публичный статический Метод

Returns true if the string represents unknown, otherwise false.
public static IsUnknown ( string val, CultureInfo culture ) : bool
val string /// The string value to test. ///
culture System.Globalization.CultureInfo /// The culture to test for. ///
Результат bool