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.
파일 보기 프로젝트 열기: Corniel/Qowaiv

공개 메소드들

메소드 설명
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