C# 클래스 Schumix.Libraries.Tools

파일 보기 프로젝트 열기: Schumix/Schumix2

공개 메소드들

메소드 설명
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