# LibTmux.TmuxChaining

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Chaining/TmuxChaining.cs#L12
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-tmuxchaining/

Runs a request on its own, as a chain of one command.

There is one overload per kind of target rather than one per request: a
request says what it is aimed at through <see cref="ITmuxRequest{TTarget}" />,
and the target says which server runs it. An options or hooks table does not
know its server, so those two overloads also take the server.

## Members

- `ToRunCommand` (method): Returns running a hook as one tmux command.
- `ToUnsetCommand` (method): Returns removing a hook as one tmux command.
- `ExecuteAsync` (method): Runs a hook on its own.
- `ToCommands` (method): Returns every command a multi-entry hook request sends.
