RenderHookScope Class

Represents a render hook scope.
public sealed class RenderHookScope : IDisposable
Interfaces
  • IDisposable

Constructors

RenderHookScope(IAnsiConsole, IRenderHook)
Initializes a new instance of the RenderHookScope class.

Methods

void Dispose()

Extension Methods

T And<RenderHookScope>(Action<RenderHookScope>)
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.