Fork me on GitHubEpicdominant domains
APIEpicIVisitor<(Of <(<'TResult>)>)>AsVisitor<(Of <<'(TExpression>)>>)(TExpression)

AsVisitor<(Of <(<'TExpression>)>)> Method (target)
Enables the visit of target returning the visitor under an interface ready for the operation.

Assembly: Epic.Prelude

Declaration Syntax
C#
IVisitor<TResult, TExpression> AsVisitor<TExpression>(
	TExpression target
)
where TExpression : class
Generic Template Parameters
TExpression
Type of the expression that will be visited from the returned visitor.
Parameters
target (TExpression)
Expression to be visited.
Return Value
The visitor that can visit target.
Exceptions
ExceptionCondition
InvalidOperationException The current visitor can not be used to visit target.
blog comments powered by Disqus