C# Класс Summer.Batch.Extra.Utils.ReverseUtils

Reverse Helper.
Показать файл Открыть проект

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

Метод Описание
ConvertBooleanToStringON ( bool boolean ) : string

Convert a bool to "O" or "N" string.

ConvertBooleanToStringYN ( bool boolean ) : string

Convert a bool to "Y" or "N" string.

ConvertStringToBooleanON ( string str ) : bool?

Convert a "O" or "N" string to bool.

ConvertStringToBooleanYN ( string str ) : bool?

Convert a "Y" or "N" string to bool.

IsCharHighValue ( char character ) : bool

Check if the given character is '\\u009F' ASCII value.

IsCharLowValue ( char character ) : bool

Check if the given character is '\\u0000' ASCII value.

IsSpaces ( object obj ) : bool

Check if all attributes of the object, whose types are Number, String or Date, are null or are empty/whitespace strings.

IsStringHighValue ( string str ) : bool

Check if characters of the given string are all '\\u009F' ASCII value.

IsStringLowValue ( string str ) : bool

Check if characters of the given string are all '\\u0000' ASCII value.

Приватные методы

Метод Описание
IsAttribute ( Type clazz ) : bool

isAttribute.

IsAttributeNull ( MethodInfo m, object obj ) : bool

isAttributeNull.

IsMethodToBeIgnored ( MethodInfo m ) : bool

IsMethodToBeIgnored.

Описание методов

ConvertBooleanToStringON() публичный статический Метод

Convert a bool to "O" or "N" string.
public static ConvertBooleanToStringON ( bool boolean ) : string
boolean bool bool
Результат string

ConvertBooleanToStringYN() публичный статический Метод

Convert a bool to "Y" or "N" string.
public static ConvertBooleanToStringYN ( bool boolean ) : string
boolean bool bool
Результат string

ConvertStringToBooleanON() публичный статический Метод

Convert a "O" or "N" string to bool.
public static ConvertStringToBooleanON ( string str ) : bool?
str string string
Результат bool?

ConvertStringToBooleanYN() публичный статический Метод

Convert a "Y" or "N" string to bool.
public static ConvertStringToBooleanYN ( string str ) : bool?
str string string
Результат bool?

IsCharHighValue() публичный статический Метод

Check if the given character is '\\u009F' ASCII value.
public static IsCharHighValue ( char character ) : bool
character char character char
Результат bool

IsCharLowValue() публичный статический Метод

Check if the given character is '\\u0000' ASCII value.
public static IsCharLowValue ( char character ) : bool
character char char
Результат bool

IsSpaces() публичный статический Метод

Check if all attributes of the object, whose types are Number, String or Date, are null or are empty/whitespace strings.
public static IsSpaces ( object obj ) : bool
obj object objet
Результат bool

IsStringHighValue() публичный статический Метод

Check if characters of the given string are all '\\u009F' ASCII value.
public static IsStringHighValue ( string str ) : bool
str string string
Результат bool

IsStringLowValue() публичный статический Метод

Check if characters of the given string are all '\\u0000' ASCII value.
public static IsStringLowValue ( string str ) : bool
str string string
Результат bool