Visitor that can produce a String out of a TTarget.
Inheritance Hierarchy
| Object | ||
| CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase | ||
| SimpleFormatter<(Of <(<'TTarget>)>)> | ||
Assembly: Epic.Prelude
Declaration Syntax
| C# |
public sealed class SimpleFormatter<TTarget> : CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase, IVisitor<string, TTarget>, IVisitor<string> where TTarget : class
Generic Template Parameters
- TTarget
- The type of the target to format.
Members
| All Members | Constructors | Methods | |||
| Member | Description | |
|---|---|---|
| SimpleFormatter<(Of <(<'TTarget>)>)>(CompositeVisitor<(Of <<'(String>)>>), Func<(Of <<'(TTarget, String>)>>)) |
Initializes a new instance of the SimpleFormatter<(Of <(<'TTarget>)>)> class.
| |
| SimpleFormatter<(Of <(<'TTarget>)>)>(CompositeVisitor<(Of <<'(String>)>>), Func<(Of <<'(TTarget, String>)>>), Func<(Of <<'(TTarget, Boolean>)>>)) |
Initializes a new instance of the SimpleFormatter<(Of <(<'TTarget>)>)> class.
| |
| AsVisitor<(Of <<'(TExpression>)>>)(TExpression) |
Return the current instance if the target match the accept rule provided to
(Overrides CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase.AsVisitor<(Of <<'(TExpression>)>>)(TExpression).) |
