Formatter to access part of a string.
Inheritance
SubStringFormatter
[Serializable]
public class SubStringFormatter : FormatterBase, IFormatter, ISerializationCallbackReceiver
Constructors
Declaration
public SubStringFormatter()
Properties
Declaration
public override string[] DefaultNames { get; }
Property Value
Overrides
Get or set the string to display for NULL values, defaults to "(null)".
Declaration
public string NullDisplayString { get; set; }
Property Value
The delimiter to separate parameters, defaults to comma.
Declaration
public char ParameterDelimiter { get; set; }
Property Value
Methods
Declaration
public override bool TryEvaluateFormat(IFormattingInfo formattingInfo)
Parameters
Type |
Name |
Description |
IFormattingInfo |
formattingInfo |
Returns true if processed, otherwise false.
|
Returns
Overrides
Declaration
public override bool TryEvalulateAllLiterals(IFormattingInfo formattingInfo)
Parameters
Returns
Overrides
Extension Methods