Fork me on GitHubEpicdominant domains
APIEpicCompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBaseAsVisitor<(Of <<'(TExpression>)>>)(TExpression)

AsVisitor<(Of <(<'TExpression>)>)> Method (target)
Returns the current instance if and only if it's able to visit target, nullNothingnullptr otherwise. It should be overridden whenever the type of target is not enough to choose whether the current instance can visit it or not.

Assembly: Epic.Prelude

Declaration Syntax
C#
protected virtual IVisitor<TResult, TExpression> AsVisitor<TExpression>(
	TExpression target
)
where TExpression : class
Generic Template Parameters
TExpression
The type of the object to visit.
Parameters
target (TExpression)
Object to visit.
Return Value
The current instance or nullNothingnullptr.
blog comments powered by Disqus