RenderHookScope(IAnsiConsole, IRenderHook) Constructor
Initializes a new instance of the
RenderHookScope
class.
public RenderHookScope(IAnsiConsole console, IRenderHook hook)
- Namespace
- Spectre
.Console .Rendering - Containing Type
- RenderHookScope
Parameters
- IAnsiConsole console
- The console to attach the render hook to.
- IRenderHook hook
- The render hook.