Fork me on GitHubEpicdominant domains
APIEpic.VisitorsSimpleFormatter<(Of <(<'TTarget>)>)>AsVisitor<(Of <<'(TExpression>)>>)(TExpression)

AsVisitor<(Of <(<'TExpression>)>)> Method (target)
Return the current instance if the target match the accept rule provided to

Assembly: Epic.Prelude

Declaration Syntax
C#
protected override sealed IVisitor<string, TExpression> AsVisitor<TExpression>(
	TExpression target
)
where TExpression : class
Generic Template Parameters
TExpression
Type of the expression to visit.
Parameters
target (TExpression)
Target to visit.
Return Value
The current SimpleFormatter<(Of <(<'TTarget>)>)> if target is a TTarget that matches the accept rule provided at initialization.
blog comments powered by Disqus