Fork me on GitHubEpicdominant domains
APIEpicUnvisitableExtensionsAccept<(Of <<'(TResult>)>>)(Expression, IVisitor<(Of <<'(TResult>)>>), IVisitContext)

Accept<(Of <(<'TResult>)>)> Method (expression, visitor, context)
Force expression to accept the specified visitor and context.

Assembly: Epic.Prelude

Declaration Syntax
C#
public static TResult Accept<TResult>(
	this Expression expression,
	IVisitor<TResult> visitor,
	IVisitContext context
)
Generic Template Parameters
TResult
The type of the result of the visit.
Parameters
expression (Expression)
Expression that will be routed to visitor with its actual (public) type.
visitor (IVisitor<(Of <(<'TResult>)>)>)
Visitor.
context (IVisitContext)
Context of the visit.
Return Value
Result of the visit.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Expression. When you use instance method syntax to call this method, omit the first parameter.
Exceptions
ExceptionCondition
ArgumentNullExceptionexpression, visitor or context is nullNothingnullptr.
blog comments powered by Disqus