using APT.Infrastructure.Core;
namespace APT.Utility
{
public class ServiceUtils
{
/////
///// 获取接口的公共方法
/////
/////
/////
//public static ICommonService GetCommonService() where T : EntityBase, new()
//{
// ServiceLocator serviceLocator = APT.Infrastructure.Api.ServiceLocator.Instance;
// serviceLocator.RegisterType(typeof(CommonService), typeof(ICommonService));
// return serviceLocator.GetService>();
//}
/////
///// 获取接口的公共方法
/////
/////
/////
//public static ITreeCommonService GetTreeCommonService() where T : MesTreeEntityBase, new()
//{
// ServiceLocator serviceLocator = APT.Infrastructure.Api.ServiceLocator.Instance;
// serviceLocator.RegisterType(typeof(TreeCommonService), typeof(ITreeCommonService));
// return serviceLocator.GetService>();
//}
}
}