简体   繁体   中英

Refit - How to edit mustache template

I'm fairly new to using Refit and C#. I'm trying to edit my RefitStub.g.cs page and I see a message :

/* ******** 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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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