简体   繁体   English

改装-如何编辑胡子模板

[英]Refit - How to edit mustache template

I'm fairly new to using Refit and C#. 我对使用Refit和C#很陌生。 I'm trying to edit my RefitStub.g.cs page and I see a message : 我正在尝试编辑RefitStub.g.cs页面,但看到一条消息:

/* ******** Hey You! *********
 *
 * This is a generated file, and gets rewritten every time you build the
 * project. If you want to edit it, you need to edit the mustache template
 * in the Refit package */

I'm not sure how to and where do I edit this mustache template. 我不确定如何以及在哪里编辑此胡子模板。

I have referenced Refit through Nuget. 我通过Nuget引用了Refit。

只需转到C:\\Users\\\\{user}\\\\.nuget\\packages\\refit\\\\{version}\\\\build\\\\{platform} ,您应该会看到文件GeneratedInterfaceStubTemplate.mustache

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM