ConsoleLiveDisplayContext

Class

Provides a simplified facade over Spectre.Console live display updates.

Namespace: RazorConsole.Core.Rendering
Assembly: RazorConsole.Core

Definition

public sealed class ConsoleLiveDisplayContext : IDisposable, IObserver<ConsoleRenderer.RenderSnapshot>

Methods

5
NameTypeDescription
Dispose()Method
OnCompleted()Method
OnError(Exception)()Method
UpdateRenderable(IRenderable?)()MethodReplaces the live display target with a custom renderable.
UpdateView(ConsoleViewResult)()BooleanUpdates the live display with a new view when the HTML differs from the last rendered HTML.