On this page
LibTmux.TmuxChaining.ToRunCommand
- Module
- LibTmux
- Declared in
- TmuxChaining
- Package
- LibTmux
- Source
- src/LibTmux/Chaining/TmuxChaining.Hooks.cs
- ToRunCommand ( request : HookRequest , hooks : TmuxHooks ) TmuxCommand
-
Returns running a hook as one tmux command.
A hook request names a hook without saying what to do with it, so running and removing are separate here rather than one call that has to guess which was meant.
- Parameters
-
-
request ( HookRequest ) – Which hook to run.
-
hooks ( TmuxHooks ) – The hooks handle whose scope holds it.
-
- Returns
-
The command, ready to add to a
TmuxChain. - Raises
-
-
ArgumentNullException – An argument is null.
-
0 declared, 0 inherited