从 .Net Core 控制台应用程序调用 Mono.TextTemplating

从 .Net Core 控制台应用程序调用 Mono.TextTemplating

问题描述:

我已经在我的项目中安装了 NuGet Mono.TextTemplating 包,但我没有找到任何示例来使用从我的应用程序调用它.我创建了模板,并想从我的代码中使用参数调用生成器.

I already installed the NuGet Mono.TextTemplating package into my project, but I didnt find any example to use call it from my application. I created templates, and would like to call the generator from my code with parameter.

有什么建议吗?是否有 Mono.TextTemplating API 文档?

Any advice? Is there any Mono.TextTemplating API documentation?

谢谢

只看 Mono 的 github 页面.TextTemplating 在自述部分它说可以找到 T4 文档 此处.它有多个小节,并附有解释它的示例.我希望这会有所帮助.

Just looking at the github page of Mono.TextTemplating in the readme section it says that the T4 documentation can be found here. It has multiple subsections with examples explaining it. I hope this helps.