Extension Methods - axuno/SmartFormat GitHub Wiki
SmartFormat has the following extension methods for StringBuilder
, TextWriter
(which works with Console
, too) and string
.
ExtensionMethods are included in SmartFormat.SmartExtensions
.
Signatures:
StringBuilder.AppendSmart("template", args...);
StringBuilder.AppendLineSmart("template", args...);
Console.Out.WriteSmart("template", args...);
Console.Out.WriteLineSmart("template", args...);
string.FormatSmart("template", args...);