A placeholder is the part of a format string between the { braces }.
public class Placeholder : FormatItem
For example, in "{Items.Length,10:choose(1,2,3):one|two|three}",
the Alignments is "10",
the Selectors are "Items" and "Length",
the FormatterName is "choose",
the FormatterOptions is "1,2,3",
and the Format is "one|two|three".
Constructors
Declaration
public Placeholder(SmartSettings smartSettings, Format parent, int startIndex, int nestedDepth)
Parameters
Fields
Declaration
public readonly Format parent
Field Value
Properties
Declaration
public int Alignment { get; set; }
Property Value
Declaration
public Format Format { get; set; }
Property Value
Declaration
public string FormatterName { get; set; }
Property Value
Declaration
public string FormatterOptions { get; set; }
Property Value
Declaration
public int NestedDepth { get; set; }
Property Value
Declaration
public List<Selector> Selectors { get; }
Property Value
Methods
Declaration
public override string ToString()
Returns
Overrides