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 EPPlusModuleInstall { /// /// /// /// /// public static void AddEPPlusModuleInstall(this IServiceCollection services) { if (services == null) throw new ArgumentNullException(nameof(services)); services.AddScoped(); } } }