public OptionSetUpdater(IAppContext appContext , IOptionSetRepository optionSetRepository , ILocalizedLabelService localizedLabelService) { _appContext = appContext; _optionSetRepository = optionSetRepository; _localizedLabelService = localizedLabelService; _cacheService = new Caching.CacheManager <Domain.OptionSet>(_appContext.OrganizationUniqueName + ":optionsets", _appContext.PlatformSettings.CacheEnabled); }
public OptionSetFinder(IAppContext appContext , IOptionSetRepository optionSetRepository , IOptionSetDetailFinder optionSetDetailFinder ) { _appContext = appContext; _optionSetRepository = optionSetRepository; _optionSetDetailFinder = optionSetDetailFinder; _cacheService = new Caching.CacheManager <Domain.OptionSet>(_appContext.OrganizationUniqueName + ":optionsets", _appContext.PlatformSettings.CacheEnabled); }
public OptionSetFinder(IAppContext appContext , IOptionSetRepository optionSetRepository , IOptionSetDetailFinder optionSetDetailFinder //, ILocalizedLabelService localizedLabelService ) { _appContext = appContext; _optionSetRepository = optionSetRepository; _optionSetDetailFinder = optionSetDetailFinder; //_localizedLabelService = localizedLabelService; _cacheService = new Caching.CacheManager <Domain.OptionSet>(_appContext.OrganizationUniqueName + ":optionsets", OptionSetCache.BuildKey); }
public OptionSetCreater(IAppContext appContext , IOptionSetRepository optionSetRepository , ISolutionComponentService solutionComponentService , IOptionSetDetailCreater optionSetDetailCreater , ILocalizedLabelBatchBuilder localizedLabelService) { _appContext = appContext; _optionSetRepository = optionSetRepository; _localizedLabelService = localizedLabelService; _solutionComponentService = solutionComponentService; _optionSetDetailCreater = optionSetDetailCreater; _cacheService = new Caching.CacheManager <Domain.OptionSet>(_appContext.OrganizationUniqueName + ":optionsets", _appContext.PlatformSettings.CacheEnabled); }
public OptionSetDeleter(IAppContext appContext , IOptionSetRepository optionSetRepository , ISolutionComponentService solutionComponentService , IOptionSetDetailDeleter optionSetDetailDeleter , ILocalizedLabelService localizedLabelService , IDependencyService dependencyService , IDependencyChecker dependencyChecker , IEnumerable <ICascadeDelete <Domain.OptionSet> > cascadeDeletes) { _appContext = appContext; _optionSetRepository = optionSetRepository; _loc = _appContext.GetFeature <ILocalizedTextProvider>(); _localizedLabelService = localizedLabelService; _solutionComponentService = solutionComponentService; _optionSetDetailDeleter = optionSetDetailDeleter; _dependencyService = dependencyService; _dependencyChecker = dependencyChecker; _cascadeDeletes = cascadeDeletes; _cacheService = new Caching.CacheManager <Domain.OptionSet>(_appContext.OrganizationUniqueName + ":optionsets", _appContext.PlatformSettings.CacheEnabled); }