# LibTmux.TmuxCommand

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Chaining/TmuxCommand.cs#L13
- **Page:** https://libtmux.org/reference/dotnet/libtmux-tmuxcommand/

One tmux command and the arguments it carries.

The typed methods on <see cref="Server" />, <see cref="Session" />,
<see cref="Window" />, and <see cref="Pane" /> each run one command and
return what it produced. This is that same command as a value, so several
can be handed to tmux together through <see cref="TmuxChain" /> rather than
one process at a time.

## Members

- `TmuxCommand` (method) — Initializes a tmux command.
- `Name` (property) — Gets the tmux command name.
- `Arguments` (property) — Gets the arguments, separated as tmux will receive them.
- `Create` (method) — Creates a command from its name and arguments.
- `RequiredGeneration` (property) — Gets the server generation this command's target belongs to.
- `ToArguments` (method) — Returns this command the way tmux receives it.
- `Equals` (method)
- `GetHashCode` (method)
- `Deconstruct` (method) — Deconstructs the command into its name and arguments.
