mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-09-16 17:35:34 +08:00

committed by
Phil Scott

parent
c147929f16
commit
315a52f3e9
@@ -19,6 +19,7 @@ namespace Spectre.Console.Rendering
|
||||
{
|
||||
_console = console ?? throw new ArgumentNullException(nameof(console));
|
||||
_hook = hook ?? throw new ArgumentNullException(nameof(hook));
|
||||
|
||||
_console.Pipeline.Attach(_hook);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user