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
-
Func
<IRenderable, IReadOnlyList <ProgressTask> , IRenderable> renderHook - The custom render function.