/// <summary>
 /// 注入
 /// </summary>
 /// <param name="TestService"></param>
 /// <param name="httpContext"></param>
 /// <param name="sendService"></param>
 /// <param name="BaseService"></param>
 /// <param name="excelService"></param>
 public LoginController(ITestService TestService, IHttpContextAccessor httpContext, ISendService sendService, IEFBaseService BaseService, IExcelService excelService)
 {
     this._TestService  = TestService;
     this._httpContext  = httpContext;
     this._SendService  = sendService;
     this._BaseService  = BaseService;
     this._excelService = excelService;
 }
Exemple #2
0
 /// <summary>
 /// 注入
 /// </summary>
 /// <param name="TestService"></param>
 /// <param name="backgroundJobs"></param>
 /// <param name="configuration"></param>
 /// <param name="httpContext"></param>
 /// <param name="efbaseservice"></param>
 public TestController(ITestService TestService, IBackgroundJobClient backgroundJobs, IConfiguration configuration, IHttpContextAccessor httpContext, IEFBaseService efbaseservice)
 {
     this._TestService    = TestService;
     this._configuration  = configuration;
     this._httpContext    = httpContext;
     this._backgroundJobs = backgroundJobs;
     this._baseService    = efbaseservice;
 }