LiveDisplayContext Class
Represents a context that can be used to interact with a
LiveDisplay
.
public sealed class LiveDisplayContext
- Namespace
- Spectre
.Console
Methods
-
void Refresh
() - Refreshes the live display.
-
void UpdateTarget
(IRenderable) - Updates the live display target.
Extension Methods
-
T And
< Live Display Context> (Action < Live Display Context> ) - Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.