# LibTmux.TmuxHookEntry.TmuxHookEntry

- **Module:** LibTmux.TmuxHookEntry
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Hooks/TmuxHooks.cs#L18
- **Page:** https://libtmux.org/reference/dotnet/libtmux-tmuxhookentry-tmuxhookentry/

```
LibTmux.TmuxHookEntry.TmuxHookEntry(index: int, command: string)
```

Initializes one hook entry.

## Parameters

- `index` (int) — Where the command sits in the hook's order.
- `command` (string) — The tmux command, as tmux prints it.
