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

Accept<(Of <(<'TResult>)>)> Method (visitor, context)
Accept the specified visitor (double dispatch).

Assembly: Epic.Prelude

Declaration Syntax
C#
public abstract TResult Accept<TResult>(
	IVisitor<TResult> visitor,
	IVisitContext context
)
Generic Template Parameters
TResult
Type of the result of the visit.
Parameters
visitor (IVisitor<(Of <(<'TResult>)>)>)
Visitor.
context (IVisitContext)
Context of the visit.
Return Value
Result of the visit.
Exceptions
ExceptionCondition
ArgumentNullExceptionvisitor or context is nullNothingnullptr
InvalidOperationException The visitor can not be used to visit the current instance.
blog comments powered by Disqus