Fork me on GitHubEpicdominant domains
APIEpic.VisitorsSimpleFormatter<(Of <(<'TTarget>)>)>SimpleFormatter<(Of <(<'TTarget>)>)>(CompositeVisitor<(Of <<'(String>)>>), Func<(Of <<'(TTarget, String>)>>))

SimpleFormatter<(Of <(<'TTarget>)>)> Constructor (composition, format)
Initializes a new instance of the SimpleFormatter<(Of <(<'TTarget>)>)> class.

Assembly: Epic.Prelude

Declaration Syntax
C#
public SimpleFormatter(
	CompositeVisitor<string> composition,
	Func<TTarget, string> format
)
Parameters
composition (CompositeVisitor<(Of <(<'String>)>)>)
The composition of formatters that this SimpleFormatter<(Of <(<'TTarget>)>)> will belong to.
format (Func<(Of <(<'TTarget, String>)>)>)
A function that produce a string out of a TTarget.
Exceptions
ExceptionCondition
ArgumentNullExceptioncomposition is nullNothingnullptr.
ArgumentNullExceptionformat is nullNothingnullptr.
blog comments powered by Disqus