C# 클래스 Yea.DataTypes.ExtensionMethods.ValueTypeExtensions

Value type extension methods
파일 보기 프로젝트 열기: OxPatient/Rule-Engine

공개 메소드들

메소드 설명
IsControl ( this value ) : bool

Is the character a control character

IsDigit ( this value ) : bool

Is the character a digit character

IsHighSurrogate ( this value ) : bool

Is the character a high surrogate character

IsLetter ( this value ) : bool

Is the character a letter character

IsLetterOrDigit ( this value ) : bool

Is the character a letter or digit character

IsLowSurrogate ( this value ) : bool

Is the character a low surrogate character

IsLower ( this value ) : bool

Is the character a lower case character

IsNumber ( this value ) : bool

Is the character a number character

IsPunctuation ( this value ) : bool

Is the character a punctuation character

IsSurrogate ( this value ) : bool

Is the character a surrogate character

IsSymbol ( this value ) : bool

Is the character a symbol character

IsUnicode ( this input ) : bool

Determines if a byte array is unicode

IsUpper ( this value ) : bool

Is the character an upper case character

IsWhiteSpace ( this value ) : bool

Is the character a whitespace character

ToBase64String ( this input ) : string

Converts a byte array into a base 64 string

ToBool ( this input ) : bool

Turns an int into a bool

ToEncodedString ( this input, Encoding encodingUsing = null, int index, int count = -1 ) : string

Converts a byte array to a string

ToInt ( this value ) : int

Converts the bool to an integer

메소드 상세

IsControl() 공개 정적인 메소드

Is the character a control character
public static IsControl ( this value ) : bool
value this Value to check
리턴 bool

IsDigit() 공개 정적인 메소드

Is the character a digit character
public static IsDigit ( this value ) : bool
value this Value to check
리턴 bool

IsHighSurrogate() 공개 정적인 메소드

Is the character a high surrogate character
public static IsHighSurrogate ( this value ) : bool
value this Value to check
리턴 bool

IsLetter() 공개 정적인 메소드

Is the character a letter character
public static IsLetter ( this value ) : bool
value this Value to check
리턴 bool

IsLetterOrDigit() 공개 정적인 메소드

Is the character a letter or digit character
public static IsLetterOrDigit ( this value ) : bool
value this Value to check
리턴 bool

IsLowSurrogate() 공개 정적인 메소드

Is the character a low surrogate character
public static IsLowSurrogate ( this value ) : bool
value this Value to check
리턴 bool

IsLower() 공개 정적인 메소드

Is the character a lower case character
public static IsLower ( this value ) : bool
value this Value to check
리턴 bool

IsNumber() 공개 정적인 메소드

Is the character a number character
public static IsNumber ( this value ) : bool
value this Value to check
리턴 bool

IsPunctuation() 공개 정적인 메소드

Is the character a punctuation character
public static IsPunctuation ( this value ) : bool
value this Value to check
리턴 bool

IsSurrogate() 공개 정적인 메소드

Is the character a surrogate character
public static IsSurrogate ( this value ) : bool
value this Value to check
리턴 bool

IsSymbol() 공개 정적인 메소드

Is the character a symbol character
public static IsSymbol ( this value ) : bool
value this Value to check
리턴 bool

IsUnicode() 공개 정적인 메소드

Determines if a byte array is unicode
public static IsUnicode ( this input ) : bool
input this Input array
리턴 bool

IsUpper() 공개 정적인 메소드

Is the character an upper case character
public static IsUpper ( this value ) : bool
value this Value to check
리턴 bool

IsWhiteSpace() 공개 정적인 메소드

Is the character a whitespace character
public static IsWhiteSpace ( this value ) : bool
value this Value to check
리턴 bool

ToBase64String() 공개 정적인 메소드

Converts a byte array into a base 64 string
public static ToBase64String ( this input ) : string
input this Input array
리턴 string

ToBool() 공개 정적인 메소드

Turns an int into a bool
public static ToBool ( this input ) : bool
input this Int value
리턴 bool

ToEncodedString() 공개 정적인 메소드

Converts a byte array to a string
public static ToEncodedString ( this input, Encoding encodingUsing = null, int index, int count = -1 ) : string
input this input array
encodingUsing System.Text.Encoding The type of encoding the string is using (defaults to UTF8)
index int Index to start at
count int Number of bytes starting at the index to convert (use -1 for the entire array starting at the index)
리턴 string

ToInt() 공개 정적인 메소드

Converts the bool to an integer
public static ToInt ( this value ) : int
value this Value to convert
리턴 int