C# Class 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.
Afficher le fichier Open project: Corniel/Qowaiv

Méthodes publiques

Méthode Description
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.

Method Details

IsUnknown() public static méthode

Returns true if the string represents unknown, otherwise false.
public static IsUnknown ( string val ) : bool
val string /// The string value to test. ///
Résultat bool

IsUnknown() public static méthode

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. ///
Résultat bool