using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.Module.ExcelModule { /// /// 注入Excel服务 /// public static class ExcelModuleInstall { /// /// /// /// /// public static void AddExcelModuleInstall(this IServiceCollection services) { if (services == null) throw new ArgumentNullException(nameof(services)); services.AddScoped(); } } }