/// <summary> /// 配置中心Hub /// </summary> public ConfigCenterHub(IMapper mapper, IConfigCenterService configCenterService) { _mapper = mapper; _configCenterService = configCenterService; }
/// <summary> /// 配置中心控制器 /// </summary> public ConfigCenterController(IConfigCenterService configCenterService, IHubContext <ConfigCenterHub, IConfigCenterClient> configCenterHubContext, IMapper mapper) { _configCenterService = configCenterService; _configCenterHubContext = configCenterHubContext; _mapper = mapper; }