C# Класс Yea.DataTypes.ExtensionMethods.ValueTypeExtensions

Value type extension methods
Показать файл Открыть проект

Открытые методы

Метод Описание
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