开发者

.Net text generator [closed]

开发者 https://www.devze.com 2023-02-16 02:18 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommenda开发者_开发技巧tions for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 1 year ago.

Improve this question

Does anyone knows of a text generator like this one, written in .Net ? Open source would be nice, but it's not really important if it is free or not, as in speech or as in beer.

Basically, what I need is to reproduce a complex html table (a transaction summary) to ship it through email.


There is the built in Text Template Transformation Toolkit (T4):

In Visual Studio, a T4 text template is a mixture of text blocks and control logic that can generate a text file. The control logic is written as fragments of program code in Visual C# or Visual Basic. The generated file can be text of any kind, such as a Web page, or a resource file, or program source code in any language.


StringTemplate Template Engine may suit your needs. It is free (beer and speech included). There is a .NET port (check the Downloads section).

0

精彩评论

暂无评论...
验证码 换一张
取 消