C# 클래스 NFluent.UintCheckExtensions

Provides check methods to be executed on an uint value.
파일 보기 프로젝트 열기: tpierrain/NFluent

공개 메소드들

메소드 설명
HasAValue ( this check ) : INullableOrNumberCheckLink

Checks that the actual nullable value has a value and thus, is not null.

HasNoValue ( this check ) : void

Checks that the actual nullable value has no value and thus, is null. Note: this method does not return A check link since the nullable is null.

IsAfter ( this check, uint givenValue ) : ICheckLink>

Determines whether the specified value is after the other one.

IsBefore ( this check, uint givenValue ) : ICheckLink>

Determines whether the specified value is before the other one.

IsEqualTo ( this check, uint expected ) : ICheckLink>

Checks that the actual value is equal to another expected value.

IsNotZero ( this check ) : ICheckLink>

Checks that the actual value is NOT equal to zero.

IsStrictlyGreaterThan ( this check, uint comparand ) : ICheckLink>

Checks that the checked value is strictly greater than the comparand.

IsStrictlyLessThan ( this check, uint comparand ) : ICheckLink>

Checks that the checked value is strictly less than the comparand.

IsZero ( this check ) : ICheckLink>

Checks that the actual value is equal to zero.

비공개 메소드들

메소드 설명
IsGreaterThan ( this check, uint comparand ) : ICheckLink>
IsLessThan ( this check, uint comparand ) : ICheckLink>

메소드 상세

HasAValue() 공개 정적인 메소드

Checks that the actual nullable value has a value and thus, is not null.
The value is null.
public static HasAValue ( this check ) : INullableOrNumberCheckLink
check this The fluent check to be extended.
리턴 INullableOrNumberCheckLink

HasNoValue() 공개 정적인 메소드

Checks that the actual nullable value has no value and thus, is null. Note: this method does not return A check link since the nullable is null.
The value is not null.
public static HasNoValue ( this check ) : void
check this The fluent check to be extended.
리턴 void

IsAfter() 공개 정적인 메소드

Determines whether the specified value is after the other one.
The current value is not after the other one.
public static IsAfter ( this check, uint givenValue ) : ICheckLink>
check this The fluent check to be extended.
givenValue uint The other value.
리턴 ICheckLink>

IsBefore() 공개 정적인 메소드

Determines whether the specified value is before the other one.
The current value is not before the other one.
public static IsBefore ( this check, uint givenValue ) : ICheckLink>
check this The fluent check to be extended.
givenValue uint The other value.
리턴 ICheckLink>

IsEqualTo() 공개 정적인 메소드

Checks that the actual value is equal to another expected value.
/// The actual value is not equal to the expected value. ///
public static IsEqualTo ( this check, uint expected ) : ICheckLink>
check this /// The fluent check to be extended. ///
expected uint /// The expected value. ///
리턴 ICheckLink>

IsNotZero() 공개 정적인 메소드

Checks that the actual value is NOT equal to zero.
The value is equal to zero.
public static IsNotZero ( this check ) : ICheckLink>
check this The fluent check to be extended.
리턴 ICheckLink>

IsStrictlyGreaterThan() 공개 정적인 메소드

Checks that the checked value is strictly greater than the comparand.
/// The checked value is not strictly greater than the comparand. ///
public static IsStrictlyGreaterThan ( this check, uint comparand ) : ICheckLink>
check this /// The fluent check to be extended. ///
comparand uint /// Comparand to compare the value to. ///
리턴 ICheckLink>

IsStrictlyLessThan() 공개 정적인 메소드

Checks that the checked value is strictly less than the comparand.
/// The value is not strictly less than the comparand. ///
public static IsStrictlyLessThan ( this check, uint comparand ) : ICheckLink>
check this /// The fluent check to be extended. ///
comparand uint /// Comparand to compare the value to. ///
리턴 ICheckLink>

IsZero() 공개 정적인 메소드

Checks that the actual value is equal to zero.
The value is not equal to zero.
public static IsZero ( this check ) : ICheckLink>
check this The fluent check to be extended.
리턴 ICheckLink>