Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
StringFormatWithSpec
C# Class StringFormatWithSpec, extensions
Mostrar archivo
Open project: netfx/extensions
Public Methods
Method
Description
Format
(
string
format
,
object
o
) :
string
Private Methods
Method
Description
Eval_WithNamedExpressionAndFormat_EvalsPropertyOfExpression
( ) :
void
Eval_WithNamedExpression_EvalsPropertyOfExpression
( ) :
void
Format_WithDoubleEscapedEndFormatBraceWhichTerminatesString_ThrowsFormatException
( ) :
void
Format_WithDoubleEscapedEndFormatBrace_ThrowsFormatException
( ) :
void
Format_WithEmptyString_ReturnsEmptyString
( ) :
void
Format_WithEndBraceFollowedByDoubleEscapedEndFormatBrace_FormatsCorrectly
( ) :
void
Format_WithEndBraceFollowedByEscapedEndFormatBraceWhichTerminatesString_FormatsCorrectly
( ) :
void
Format_WithEndBraceFollowedByEscapedEndFormatBrace_FormatsCorrectly
( ) :
void
Format_WithEscapeSequence_EscapesInnerCurlyBraces
( ) :
void
Format_WithEscapedEndFormatBrace_ThrowsFormatException
( ) :
void
Format_WithExpressionReturningNull_DoesNotThrowException
( ) :
void
Format_WithFormatNameNotInObject_ThrowsFormatException
( ) :
void
Format_WithFormatType_ReturnsFormattedExpression
( ) :
void
Format_WithNoEndFormatBrace_ThrowsFormatException
( ) :
void
Format_WithNoFormats_ReturnsFormatStringAsIs
( ) :
void
Format_WithNullFormatString_ThrowsArgumentNullException
( ) :
void
Format_WithSubProperty_ReturnsValueOfSubProperty
( ) :
void
StringFormat_WithDoubleEscapedCurlyBraces_DoesNotFormatString
( ) :
void
StringFormat_WithFormatSurroundedByDoubleEscapedBraces_FormatsString
( ) :
void
StringFormat_WithMultipleExpressions_FormatsThemAll
( ) :
void
Method Details
Format()
public
static
method
public
static
Format
(
string
format
,
object
o
) :
string
format
string
o
object
return
string