ConsoleLiveDisplayContext
ClassProvides a simplified facade over Spectre.Console live display updates.
Namespace:
RazorConsole.Core.RenderingAssembly:
RazorConsole.CoreDefinition
public sealed class ConsoleLiveDisplayContext : IDisposable, IObserver<ConsoleRenderer.RenderSnapshot>Methods
5| Name | Type | Description |
|---|---|---|
Dispose() | Method | — |
OnCompleted() | Method | — |
OnError(Exception)() | Method | — |
UpdateRenderable(IRenderable?)() | Method | Replaces the live display target with a custom renderable. |
UpdateView(ConsoleViewResult)() | Boolean | Updates the live display with a new view when the HTML differs from the last rendered HTML. |