Provide support to format object with null.
More...
|
| object | GetFormat (Type?formatType) |
| | Returns an object that provides formatting services for the specified type. More...
|
| |
| string | Format (string?format, object?arg, IFormatProvider?formatProvider) |
| | Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information. More...
|
| |
Provide support to format object with null.
| static string DokanNet.FormatProviders.DokanFormat |
( |
FormattableString |
formattable | ) |
|
|
static |
Format a FormattableString using DefaultFormatProvider.
- Parameters
-
| formattable | The FormattableString to format. |
- Returns
- The formated string.
| string DokanNet.FormatProviders.Format |
( |
string? |
format, |
|
|
object? |
arg, |
|
|
IFormatProvider? |
formatProvider |
|
) |
| |
|
inline |
Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.
- Returns
- The string representation of the value of arg , formatted as specified by format and formatProvider .
- Parameters
-
| format | A format string containing formatting specifications. |
| arg | An object to format. |
| formatProvider | An object that supplies format information about the current instance. |
| object DokanNet.FormatProviders.GetFormat |
( |
Type? |
formatType | ) |
|
|
inline |
Returns an object that provides formatting services for the specified type.
- Returns
- An instance of the object specified by formatType , if the T:System.IFormatProvider implementation can supply that type of object; otherwise,
null.
- Parameters
-
| formatType | An object that specifies the type of format object to return. |
A Singleton instance of this class.
| const string DokanNet.FormatProviders.NullStringRepresentation = "<null>" |
A constant string that represents what to use if the formated object is null.
The documentation for this class was generated from the following file: