Converts an object to a string.
public interface IFormatter
Properties
An extension can be explicitly called by using any of its names.
Any extensions with "" names will be called implicitly (when no named formatter is specified).
For example, "{0:default:N2}" or "{0:d:N2}" will explicitly call the "default" extension.
"{0:N2}" will implicitly call the "default" extension (and other extensions, too).
Declaration
string[] Names { get; set; }
Property Value
Methods
Writes the current value to the output, using the specified format.
IF this extension cannot write the value, returns false, otherwise true.
Declaration
bool TryEvaluateFormat(IFormattingInfo formattingInfo)
Parameters
Returns
Ignores the format arguments and writes every possible value.
This is used to extract all possible values so that we can determine the distinct characters for font generation etc.
Declaration
bool TryEvalulateAllLiterals(IFormattingInfo formattingInfo)
Parameters
Returns
Extension Methods