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

Get<(Of <(<'TState>)>)> Method
Returns the TState.

Assembly: Epic.Prelude

Declaration Syntax
C#
TState Get<TState>()
Generic Template Parameters
TState
Type of the state of interest.
Return Value
Value of the TState that was registered from previous visitors in the context.
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the TState has not been found in the context.
blog comments powered by Disqus