Method FormatWithCache
FormatWithCache(ref FormatCache, string, IList<object>)
Replaces one or more format items in a specified string with the string representation of a specific object, using the FormatCache.
Declaration
public string FormatWithCache(ref FormatCache cache, string format, IList<object> args)
Parameters
Type | Name | Description |
---|---|---|
FormatCache | cache | The FormatCache to use. |
string | format | A composite format string. |
IList<object> | args | The objects to format. |
Returns
Type | Description |
---|---|
string | Returns the formatted input with items replaced with their string representation. |
FormatWithCache(ref FormatCache, string, IFormatProvider, IList<object>)
Replaces one or more format items in a specified string with the string representation of a specific object, using the FormatCache.
Declaration
public string FormatWithCache(ref FormatCache cache, string format, IFormatProvider formatProvider, IList<object> args)
Parameters
Type | Name | Description |
---|---|---|
FormatCache | cache | |
string | format | |
IFormatProvider | formatProvider | |
IList<object> | args |
Returns
Type | Description |
---|---|
string |