public SerialNumberRuleFinder(IAppContext appContext
                               , ISerialNumberRuleRepository serialNumberRuleRepository
                               )
 {
     _appContext = appContext;
     _serialNumberRuleRepository = serialNumberRuleRepository;
     _cacheService = new Caching.CacheManager <Domain.SerialNumberRule>(SerialNumberRuleCache.CacheKey(_appContext), _appContext.PlatformSettings.CacheEnabled);
 }
Exemple #2
0
 public SerialNumberRuleFinder(IAppContext appContext
                               , ISerialNumberRuleRepository serialNumberRuleRepository
                               //, ILocalizedLabelService localizedLabelService
                               )
 {
     _appContext = appContext;
     _serialNumberRuleRepository = serialNumberRuleRepository;
     //_localizedLabelService = localizedLabelService;
     _cacheService = new Caching.CacheManager <Domain.SerialNumberRule>(SerialNumberRuleCache.CacheKey(_appContext), SerialNumberRuleCache.BuildKey);
 }
 public SerialNumberRuleDeleter(IAppContext appContext
                                , ISerialNumberRuleRepository serialNumberRuleRepository
                                , ILocalizedLabelService localizedLabelService
                                , ISolutionComponentService solutionComponentService
                                , ISerialNumberDependency dependencyService
                                , IEntityPluginDeleter entityPluginDeleter)
 {
     _appContext = appContext;
     _serialNumberRuleRepository = serialNumberRuleRepository;
     _loc = _appContext.GetFeature <ILocalizedTextProvider>();
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _dependencyService        = dependencyService;
     _entityPluginDeleter      = entityPluginDeleter;
     _cacheService             = new Caching.CacheManager <Domain.SerialNumberRule>(SerialNumberRuleCache.CacheKey(_appContext), _appContext.PlatformSettings.CacheEnabled);
 }
 public SerialNumberRuleUpdater(IAppContext appContext
                                , ISerialNumberRuleRepository serialNumberRuleRepository
                                , ILocalizedLabelService localizedLabelService
                                , ISerialNumberDependency dependencyService)
 {
     _appContext = appContext;
     _serialNumberRuleRepository = serialNumberRuleRepository;
     _loc = _appContext.GetFeature <ILocalizedTextProvider>();
     _localizedLabelService = localizedLabelService;
     _dependencyService     = dependencyService;
     _cacheService          = new Caching.CacheManager <Domain.SerialNumberRule>(SerialNumberRuleCache.CacheKey(_appContext), SerialNumberRuleCache.BuildKey);
 }