class
|
Format_6
|
extends
|
Format_5
|
||
base of
|
Format_7
|
Creates a new instance of Format_6.
public
constructor
|
Format_6
(string pattern)
|
||
params
|
pattern
|
The pattern. |
Replaces the next placeholder with the given value.
public
method
|
Bool
(bool value)
|
||
type
|
Format_5
|
||
params
|
value
|
The replacement value. | |
returns
|
|
The resulting string. |
Replaces the next placeholder with the given value.
public
method
|
Char
(char value,
int32 repeat = 1)
|
||
type
|
Format_5
|
||
params
|
value
|
The replacement value. | |
repeat
|
Number of times to repeat value. | ||
returns
|
|
this. |
Replaces the next placeholder with the given value.
public
method
|
Int
(int64 value,
FormatFlags flags = FormatFlags.Default)
|
||
type
|
Format_5
|
||
params
|
value
|
The replacement value. | |
flags
|
The number format flags to use. | ||
returns
|
|
this. |
Replaces the next placeholder with the given value.
public
method
|
Num
(float64 value,
FormatFlags flags = FormatFlags.Default)
|
||
type
|
Format_5
|
||
params
|
value
|
The replacement value. | |
flags
|
The number format flags to use. | ||
returns
|
|
this. |
Replaces the next placeholder with the given value.
public
method
|
Obj
(object value)
|
||
type
|
Format_5
|
||
params
|
value
|
The replacement value. | |
returns
|
|
this. |
Replaces the next placeholder with the given value.
public
method
|
Str
(StringBuilder value)
|
||
type
|
Format_5
|
||
params
|
value
|
The replacement value. | |
returns
|
|
this. |
Replaces the next placeholder with the given value.
public
method
|
Str
(string value,
StringEscape escape = null)
|
||
type
|
Format_5
|
||
params
|
value
|
The replacement value. | |
escape
|
Optional
escaping
rules
to
apply
to
value.
Defaults
to
null .
|
||
returns
|
|
this. |
The internally used string builder object.
protected
readonly
field
|
builder
|
||
type
|
StringBuilder
|
||
inherited
|
Format.builder
|
Finishes formatting.
protected
method
|
Finish
()
|
||
type
|
string
|
||
returns
|
The resulting string. | ||
inherited
|
Format.Finish
|
Remarks:
The string builder will be cleared by this method.
Finishes formatting.
protected
method
|
FinishBuilder
()
|
||
inherited
|
Format.FinishBuilder
|
Remarks:
The string builder will contain the resulting string.
Moves to the next placeholder, if existent.
protected
method
|
Next
()
|
||
type
|
bool
|
||
returns
|
true
if
the
placeholder
exists,
false
if
there
are
no
more
placeholders.
|
||
inherited
|
Format.Next
|