# LibTmux.Internal.Materializer.CreateState

- **Module:** LibTmux.Internal.Materializer
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Materialization/TmuxMaterializer.cs#L138
- **Page:** https://libtmux.org/reference/dotnet/libtmux-internal-materializer-createstate/

```
LibTmux.Internal.Materializer.CreateState(context: MaterializationContext, fields: IReadOnlyDictionary<string, string?>) -> EntityMaterializationState
```

Builds the hierarchy state one materialized row carries.

## Parameters

- `context` (MaterializationContext) — The owning server and gating tmux version.
- `fields` (IReadOnlyDictionary<string, string?>) — Decoded fields for exactly one row.

## Returns

The state, with relation slots left uncaptured.
