Skip to content
ConsoleMonster
Interface

ICellPresenter

ConsoleMonster.Presenters

Namespace
ConsoleMonster.Presenters
Assembly
ConsoleMonster
Modifiers
abstract

Turns a raw value into what a cell shows. Presenters are shared by tables, record cards, record views, key/value lists and trees, and must stay readable without colour: status, booleans and tone rules always carry a symbol or a word, never colour alone.

Usage

Explore 48 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 15

Methods

public abstract PresentedValue Present(object? value, PresenterContext context) #

Presents a value.

Parameters

value object? required
The raw value (may be null).
context ConsoleMonster.Presenters.PresenterContext required
Culture, clock, time zone, column statistics and the render context.

Returns

PresentedValue The presented value.