C# 클래스 NFluent.CharCheckExtensions

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

공개 메소드들

메소드 설명
IsADigit ( this check ) : ICheckLink>

Checks that the checked char is a decimal digit.

IsALetter ( this check ) : ICheckLink>

Checks that the checked char is a letter.

IsAPunctuationMark ( this check ) : ICheckLink>

Checks that the checked char is a punctuation mark.

IsSameLetterAs ( this check, char otherChar ) : ICheckLink>

Checks that the checked char and the given one are the same letter, whatever the case.

IsSameLetterButWithDifferentCaseAs ( this check, char otherChar ) : ICheckLink>

Checks that the checked char is the same letter as the other, but with different case only.

비공개 메소드들

메소드 설명
HaveSameCase ( char checkedChar, char otherChar ) : bool
IsALetter ( char checkedChar ) : bool
IsSameCharCaseInsensitive ( char checkedChar, char otherChar ) : bool

메소드 상세

IsADigit() 공개 정적인 메소드

Checks that the checked char is a decimal digit.
The checked is not a decimal digit.
public static IsADigit ( this check ) : ICheckLink>
check this The chained fluent check.
리턴 ICheckLink>

IsALetter() 공개 정적인 메소드

Checks that the checked char is a letter.
The checked is not a letter.
public static IsALetter ( this check ) : ICheckLink>
check this The chained fluent check.
리턴 ICheckLink>

IsAPunctuationMark() 공개 정적인 메소드

Checks that the checked char is a punctuation mark.
The checked is not a punctuation mark.
public static IsAPunctuationMark ( this check ) : ICheckLink>
check this The chained fluent check.
리턴 ICheckLink>

IsSameLetterAs() 공개 정적인 메소드

Checks that the checked char and the given one are the same letter, whatever the case.
The checked is not the same letter as the expected one, whatever the case.
public static IsSameLetterAs ( this check, char otherChar ) : ICheckLink>
check this The chained fluent check.
otherChar char The other char that.
리턴 ICheckLink>

IsSameLetterButWithDifferentCaseAs() 공개 정적인 메소드

Checks that the checked char is the same letter as the other, but with different case only.
The checked is not the same as the expected one, or is the same but with the same case.
public static IsSameLetterButWithDifferentCaseAs ( this check, char otherChar ) : ICheckLink>
check this The chained fluent check.
otherChar char The other char that.
리턴 ICheckLink>