Class
IdentifierPresenter
ConsoleMonster.Presenters
Numbers that identify rather than measure (process ids, ports, indexes, years): right-aligned digits without thousands separators, so 165628 never reads as 165 628. Not summed in totals.
Inheritance
- object
- IdentifierPresenter
Constructors
public IdentifierPresenter() #Methods
public static bool LooksLikeIdentifier(string? name) #Whether a column name reads as an identifier: Id, PID, Port, Index, Year, Handle, Build, or a name ending in Id, ID or Port.
Parameters
- name string?
- The column or member name.
Returns
bool True for identifier-like names.public PresentedValue Present(object? value, PresenterContext context) #Presents a value.
Parameters
- value object?
- The raw value (may be null).
- context ConsoleMonster.Presenters.PresenterContext
- Culture, clock, time zone, column statistics and the render context.