2023-09-21 00:04:55 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
2023-09-21 19:55:55 +08:00
|
|
|
|
using Furion.DependencyInjection;
|
2023-09-21 00:04:55 +08:00
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Module.WebFirstManager.Handler
|
|
|
|
|
|
{
|
2023-09-22 10:25:05 +08:00
|
|
|
|
public class NameSpaceTemplateHandler : TemplateHandlerBase, ITemplateHandler, ISingleton
|
2023-09-21 00:04:55 +08:00
|
|
|
|
{
|
|
|
|
|
|
public string Invoker(string str)
|
|
|
|
|
|
{
|
2023-09-22 10:25:05 +08:00
|
|
|
|
return str.Replace("@namespace", "");
|
2023-09-21 00:04:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|