Provides C like format print
CLangStringFormatProvider
00 Remarks
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| IsPositive | 1 | Determines whether the specified value is positive. |
| ToUnsigned | 1 | Converts the specified values boxed type to its correpsonding unsigned type. |
| ToInteger | 1 | Converts the specified values boxed type to its correpsonding integer type. |
| ReplaceMetaChars | 1 | Replaces the string representations of meta chars with their corresponding character values..(替换掉转义字符) |
| sprintf | 1 | Format string like C |
| UnboxToLong | 1 |
03 Fields
| Name | Overloads | Summary |
|---|---|---|
| Formats | 1 | %[parameter][flags][width][.precision][length]type |
04 Members
Object, Boolean)Determines whether the specified value is positive.
| Name | Type | Description |
|---|---|---|
Value | Object | The value. |
ZeroIsPositive | Boolean | if set to true treats 0 as positive. |
true if the specified value is positive; otherwise, false.
Object)Converts the specified values boxed type to its correpsonding unsigned type.
| Name | Type | Description |
|---|---|---|
Value | Object | The value. |
A boxed numeric object whos type is unsigned.
Object, Boolean)Converts the specified values boxed type to its correpsonding integer type.
| Name | Type | Description |
|---|---|---|
Value | Object | The value. |
A boxed numeric object whos type is an integer type.
String)Replaces the string representations of meta chars with their corresponding character values..(替换掉转义字符)
this function is a safe function, empty string will be returns is the given input string is nothing
| Name | Type | Description |
|---|---|---|
input | String | The input. |
A string with all string meta chars are replaced
String, Object())Format string like C
| Name | Type | Description |
|---|---|---|
format | String | - |
parameters | Object() | - |
%[parameter][flags][width][.precision][length]type
Object, Boolean)