# LibTmux.TmuxCommand

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Chaining/TmuxCommand.cs#L13
- **Page:** https://libtmux.org/en/dotnet/latest/reference/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.
