public DeviceParamGroupCache(IDeviceParamGroupRepository deviceParamGroupRepository, IInjectConfig injectConfig, ILoggingService loggingService) { this._deviceParamGroupRepository = deviceParamGroupRepository; this._loggingService = loggingService; this._injectConfig = injectConfig; this._loggingService.CreateLogger(this.GetType()); this._parameterGroupCache = this._injectConfig.ResolveKeyed <ICache>("DeviceParamGroupMemoryCache"); }
public DeviceConfigParamGroupService(IDeviceParamGroupRepository deviceConfigParamGroupRepository, IEnumerable <IRequestValidator <DeviceConfigRequestBase> > deviceConfigBaseValidators, IEnumerable <IRequestValidator <IServiceRequest> > serviceRequestValidators, IParameterAttributeCache parameterAttributeCache, IMapper mapper, ILoggingService loggingService) : base(parameterAttributeCache, mapper, loggingService) { this._deviceConfigParamGroupRepository = deviceConfigParamGroupRepository; this._deviceConfigBaseValidators = deviceConfigBaseValidators; this._serviceRequestValidators = serviceRequestValidators; this._loggingService.CreateLogger(typeof(DeviceConfigParamGroupService)); }