UseRenderHook(Progress, Func<IRenderable, IReadOnlyList<ProgressTask>, IRenderable>) Method

Sets an optional hook to intercept rendering.
public static Progress UseRenderHook(this Progress progress, Func<IRenderable, IReadOnlyList<ProgressTask>, IRenderable> renderHook)
Namespace
Spectre.Console
Containing Type
ProgressExtensions

Parameters

Progress progress
The Progress instance.
Func<IRenderable, IReadOnlyList<ProgressTask>, IRenderable> renderHook
The custom render function.

Returns