API Reference
Class
BytesPresenter
A byte count in binary units with the culture's decimal separator: 512 B, 1.4 MB, 2.07 GB.
Inheritance
- Object
- BytesPresenter
Constructors
public BytesPresenter() #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?