예제 #1
0
 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);
 }
예제 #2
0
 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);
 }
예제 #3
0
 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);
 }
예제 #4
0
 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);
 }
예제 #5
0
 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);
 }