Property | Type | Description | |
---|---|---|---|
AppendEnumFlags | bool | ||
AppendFriendlyTypeName | bool | ||
Format | bool | ||
FormatChar | bool | ||
FormatString | bool | ||
GetMaxValueLength | int | ||
GetMaxValueLength | int | ||
GetValueLength | int | ||
GetValueLength | int | ||
IsFormatApplicable | bool |
Method | Description | |
---|---|---|
Clone ( ) : object |
Creates deep copy of this instance.
|
|
ScalarFormatInfo ( ) : System |
Default constructor.
|
|
ScalarFormatInfo ( |
Copy constructor which initializes new instance and copies common values from another instance of this class.
|
|
ScalarFormatInfo ( |
Copy constructor which copies only values that are common to all classes derived from VerboseFormatInfoBase.
|
Method | Description | |
---|---|---|
AppendEnumFlags ( |
Appends names of enumeration constants that are present in the OR-ed value.
|
|
AppendFriendlyTypeName ( |
Appends user friendly name for the given data type and appends it to string builder.
|
|
Format ( StringBuilder sb, string format, object arg, IFormatProvider formatProvider, int &maxLength ) : bool |
Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.
|
|
FormatChar ( StringBuilder sb, char c, bool quote, bool stringEscaping, int &maxLength ) : bool |
Appends formatted presentation of a given character to the given string builder.
|
|
FormatString ( StringBuilder sb, string s, bool quote, int &maxLength ) : bool |
Appends formatted string to the given string builder. String will be fully escaped.
|
|
GetMaxValueLength ( IEnumerator enumerator ) : int |
Gets maximum length required to format any value from the given enumerator.
|
|
GetMaxValueLength ( IEnumerator enumerator, StringBuilder sb ) : int |
Gets maximum length required to format any value from the given enumerator.
|
|
GetValueLength ( object value ) : int |
Gets total length required to format specified value.
|
|
GetValueLength ( object value, StringBuilder sb ) : int |
Gets total length required to format specified value.
|
|
IsFormatApplicable ( |
Gets value indicating whether this formatter can format string which represents instance of given data type.
|
public ScalarFormatInfo ( |
||
other | Instance from which common values should be copied. | |
return | System |
public ScalarFormatInfo ( |
||
other | Instance from which contents is copied to new instance of this class. | |
return | System |