热门标签
更多>
搜索结果
查询Tags标签: serviceProvider,共有 2条记录-
.net core 3.1 windows服务依赖注入
1、建立一个接口public interface IServicesDoParse{void Do();}2、做一个接口的实现public class ServicesDoParse : IServicesDoParse{private readonly ILogger<IServicesDoParse> _logger;private readonly MQConfig _mqConfig;public ServicesDoParse(ILogger&…
2021/7/30 7:39:42 人评论 次浏览 -
.net core 3.1 windows服务依赖注入
1、建立一个接口public interface IServicesDoParse{void Do();}2、做一个接口的实现public class ServicesDoParse : IServicesDoParse{private readonly ILogger<IServicesDoParse> _logger;private readonly MQConfig _mqConfig;public ServicesDoParse(ILogger&…
2021/7/30 7:39:42 人评论 次浏览