C# Класс AT.MIN.Tools

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

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

Метод Описание
IsNumericType ( object o ) : bool

Determines whether the specified value is of numeric type.

IsPositive ( object Value, bool ZeroIsPositive ) : bool

Determines whether the specified value is positive.

ReplaceMetaChars ( string input ) : string

Replaces the string representations of meta chars with their corresponding character values.

ToInteger ( object Value, bool Round ) : object

Converts the specified values boxed type to its correpsonding integer type.

ToUnsigned ( object Value ) : object

Converts the specified values boxed type to its correpsonding unsigned type.

UnboxToLong ( object Value, bool Round ) : long
fprintf ( TextWriter Destination, string Format ) : void
printf ( string Format ) : void
sprintf ( string Format ) : string

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

Метод Описание
FormatHex ( string NativeFormat, bool Alternate, int FieldLength, int FieldPrecision, bool Left2Right, char Padding, object Value ) : string
FormatNumber ( string NativeFormat, bool Alternate, int FieldLength, int FieldPrecision, bool Left2Right, bool PositiveSign, bool PositiveSpace, char Padding, object Value ) : string
FormatOct ( string NativeFormat, bool Alternate, int FieldLength, int FieldPrecision, bool Left2Right, char Padding, object Value ) : string
ReplaceMetaCharsMatch ( Match m ) : string

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

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

Determines whether the specified value is of numeric type.
public static IsNumericType ( object o ) : bool
o object The object to check.
Результат bool

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

Determines whether the specified value is positive.
public static IsPositive ( object Value, bool ZeroIsPositive ) : bool
Value object The value.
ZeroIsPositive bool if set to true treats 0 as positive.
Результат bool

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

Replaces the string representations of meta chars with their corresponding character values.
public static ReplaceMetaChars ( string input ) : string
input string The input.
Результат string

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

Converts the specified values boxed type to its correpsonding integer type.
public static ToInteger ( object Value, bool Round ) : object
Value object The value.
Round bool
Результат object

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

Converts the specified values boxed type to its correpsonding unsigned type.
public static ToUnsigned ( object Value ) : object
Value object The value.
Результат object

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

public static UnboxToLong ( object Value, bool Round ) : long
Value object
Round bool
Результат long

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

public static fprintf ( TextWriter Destination, string Format ) : void
Destination System.IO.TextWriter
Format string
Результат void

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

public static printf ( string Format ) : void
Format string
Результат void

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

public static sprintf ( string Format ) : string
Format string
Результат string