mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-03 00:00:58 +08:00
14 lines
408 B
C#
14 lines
408 B
C#
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;
|
|
}
|
|
}
|
|
}
|