feat: 添加代码生成器模块
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace Yi.Framework.CodeGun.Domain.Handlers
|
||||
{
|
||||
public class NameSpaceTemplateHandler : TemplateHandlerBase, ITemplateHandler
|
||||
{
|
||||
public HandledTemplate Invoker(string str, string path)
|
||||
{
|
||||
var output = new HandledTemplate();
|
||||
output.TemplateStr = str.Replace("@namespace", "");
|
||||
output.BuildPath = path;
|
||||
return output;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user