mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-19 10:12:50 +08:00
19 lines
582 B
C#
19 lines
582 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Spectre.Console.Rendering
|
|
{
|
|
/// <summary>
|
|
/// Represents a render hook.
|
|
/// </summary>
|
|
public interface IRenderHook
|
|
{
|
|
/// <summary>
|
|
/// Processes the specified renderables.
|
|
/// </summary>
|
|
/// <param name="context">The render context.</param>
|
|
/// <param name="renderables">The renderables to process.</param>
|
|
/// <returns>The processed renderables.</returns>
|
|
IEnumerable<IRenderable> Process(RenderContext context, IEnumerable<IRenderable> renderables);
|
|
}
|
|
}
|