API Reference
Class
MarkupPresenter
Shows text values as markup ([pass]OK[/] [muted]3s[/]) and RichText with its own styles. Data is literal everywhere else, so this presenter is the opt-in (column option Markup = $true or Presenter = 'Markup'). Invalid markup is shown literally; line breaks become spaces in one cell line.
Inheritance
- Object
- MarkupPresenter
Constructors
public MarkupPresenter() #Methods
public PresentedValue Present(Object? value, PresenterContext context) #Returns:
PresentedValuePresents a value.
Parameters
- value System.Object?
- The raw value (may be null).
- context ConsoleMonster.Presenters.PresenterContext
- Culture, clock, time zone, column statistics and the render context.
Returns
The presented value.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?