Exemple #1
0
 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");
 }
Exemple #2
0
 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));
 }