The StringBuilder is optimized to append text and compromises other methods like Replace(..). The TemplateBuilder is available on the StringBuilder as an extension method ‘ToTemplateBuilder()’ and is optimized for replacing variables with values within the templated string. The TemplateBuilder is optimized for merging name-value-pairs into a templated string and providing a merged document. The Template Builder is designed to maximize through put over using the String and StringBuilder Replace(name value) method.
License
—
Deps
1
Install Size
—
Vulns
✓ 0
Published
Nov 18, 2019
$ dotnet add package StringBuilder.ToTemplateBuilderNo README available.