<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@contract-case/case-definition-dsl](./case-definition-dsl.md) &gt; [states](./case-definition-dsl.states.md)

## states namespace

## Classes

<table><thead><tr><th>

Class

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

[InState](./case-definition-dsl.states.instate.md)

</td><td>

A state descriptor for configuring an example that needs to run in a particular named state.

</td></tr>
<tr><td>

[InStateWithVariables](./case-definition-dsl.states.instatewithvariables.md)

</td><td>

A state descriptor for configuring an example that needs to run in a particular named state, and with variables provided by the framework.

</td></tr>
</tbody></table>

## Abstract Classes

<table><thead><tr><th>

Abstract Class

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

[AnyState](./case-definition-dsl.states.anystate.md)

</td><td>

The base class for all ContractCase State Descriptors. You shouldn't need to extend this.

You don't need to read the documentation for this class unless you are working on a wrapper for ContractCase.

</td></tr>
</tbody></table>
