Skip to content
ConsoleMonster

API Reference

Interface

ICellPresenter

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 34 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 10

Methods

public abstract PresentedValue Present(Object? value, PresenterContext context) #
Returns: PresentedValue

Presents a value.

Parameters

value System.Object? requiredposition: 0
The raw value (may be null).
context ConsoleMonster.Presenters.PresenterContext requiredposition: 1
Culture, clock, time zone, column statistics and the render context.

Returns

The presented value.