Create a new context containing the specified state.
Assembly: Epic.Prelude
Declaration Syntax
C# |
public IVisitContext With<TState>( TState state )
Generic Template Parameters
- TState
- Type of the state to use.
Parameters
- state (TState)
- State to use in the visits recieving the resulting context.
Return Value
A new context containing the state.