Fork me on GitHubEpicdominant domains
APIEpicIVisitContextWith<(Of <<'(TState>)>>)(TState)

With<(Of <(<'TState>)>)> Method (state)
Create a new context containing the specified state.

Assembly: Epic.Prelude

Declaration Syntax
C#
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.
blog comments powered by Disqus