refactor: remove unused backend extensions
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
|
||||
// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
|
||||
//
|
||||
// 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
|
||||
//
|
||||
@@ -136,8 +136,6 @@ public class SysServerService : IDynamicApiController, ITransient
|
||||
var pdfAssembly = typeof(Magicodes.ExporterAndImporter.Pdf.IPdfExporter).Assembly.GetName();
|
||||
var wordAssembly = typeof(Magicodes.ExporterAndImporter.Word.IWordExporter).Assembly.GetName();
|
||||
var captchaAssembly = typeof(Lazy.Captcha.Core.ICaptcha).Assembly.GetName();
|
||||
var wechatApiAssembly = typeof(WechatApiClient).Assembly.GetName();
|
||||
var wechatTenpayAssembly = typeof(WechatTenpayClient).Assembly.GetName();
|
||||
var ossAssembly = typeof(OnceMi.AspNetCore.OSS.IOSSServiceFactory).Assembly.GetName();
|
||||
var parserAssembly = typeof(Parser).Assembly.GetName();
|
||||
var elasticsearchClientAssembly = typeof(Elastic.Clients.Elasticsearch.ElasticsearchClient).Assembly.GetName();
|
||||
@@ -148,10 +146,7 @@ public class SysServerService : IDynamicApiController, ITransient
|
||||
var alibabaSendSmsRequestAssembly = typeof(AlibabaCloud.SDK.Dysmsapi20170525.Models.SendSmsRequest).Assembly.GetName();
|
||||
var tencentSendSmsRequestAssembly = typeof(TencentCloud.Sms.V20190711.Models.SendSmsRequest).Assembly.GetName();
|
||||
var rabbitMQAssembly = typeof(RabbitMQEventSourceStore).Assembly.GetName();
|
||||
var ldapConnectionAssembly = typeof(Novell.Directory.Ldap.LdapConnection).Assembly.GetName();
|
||||
var ipToolAssembly = typeof(IPTools.Core.IpTool).Assembly.GetName();
|
||||
var weixinAuthenticationOptionsAssembly = typeof(AspNet.Security.OAuth.Weixin.WeixinAuthenticationOptions).Assembly.GetName();
|
||||
var giteeAuthenticationOptionsAssembly = typeof(AspNet.Security.OAuth.Gitee.GiteeAuthenticationOptions).Assembly.GetName();
|
||||
var hashidsAssembly = typeof(HashidsNet.Hashids).Assembly.GetName();
|
||||
var sftpClientAssembly = typeof(Renci.SshNet.SftpClient).Assembly.GetName();
|
||||
var hardwareInfoAssembly = typeof(Hardware.Info.HardwareInfo).Assembly.GetName();
|
||||
@@ -167,8 +162,6 @@ public class SysServerService : IDynamicApiController, ITransient
|
||||
new { pdfAssembly.Name, pdfAssembly.Version },
|
||||
new { wordAssembly.Name, wordAssembly.Version },
|
||||
new { captchaAssembly.Name, captchaAssembly.Version },
|
||||
new { wechatApiAssembly.Name, wechatApiAssembly.Version },
|
||||
new { wechatTenpayAssembly.Name, wechatTenpayAssembly.Version },
|
||||
new { ossAssembly.Name, ossAssembly.Version },
|
||||
new { parserAssembly.Name, parserAssembly.Version },
|
||||
new { elasticsearchClientAssembly.Name, elasticsearchClientAssembly.Version },
|
||||
@@ -179,13 +172,10 @@ public class SysServerService : IDynamicApiController, ITransient
|
||||
new { alibabaSendSmsRequestAssembly.Name, alibabaSendSmsRequestAssembly.Version },
|
||||
new { tencentSendSmsRequestAssembly.Name, tencentSendSmsRequestAssembly.Version },
|
||||
new { rabbitMQAssembly.Name, rabbitMQAssembly.Version },
|
||||
new { ldapConnectionAssembly.Name, ldapConnectionAssembly.Version },
|
||||
new { ipToolAssembly.Name, ipToolAssembly.Version },
|
||||
new { weixinAuthenticationOptionsAssembly.Name, weixinAuthenticationOptionsAssembly.Version },
|
||||
new { giteeAuthenticationOptionsAssembly.Name, giteeAuthenticationOptionsAssembly.Version },
|
||||
new { hashidsAssembly.Name, hashidsAssembly.Version },
|
||||
new { sftpClientAssembly.Name, sftpClientAssembly.Version },
|
||||
new { hardwareInfoAssembly.Name, hardwareInfoAssembly.Version },
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user