public SystemFormUpdater(IAppContext appContext , ISystemFormRepository systemFormRepository , ILocalizedLabelService localizedLabelService , IFormService formService , ISystemFormDependency dependencyService , IEventPublisher eventPublisher) { _appContext = appContext; _systemFormRepository = systemFormRepository; _localizedLabelService = localizedLabelService; _formService = formService; _dependencyService = dependencyService; _eventPublisher = eventPublisher; _cacheService = new Caching.CacheManager <Domain.SystemForm>(_appContext.OrganizationUniqueName + ":systemforms", SystemFormCache.BuildKey); }
public SystemFormCreater(IAppContext appContext , ISystemFormRepository systemFormRepository , ILocalizedLabelBatchBuilder localizedLabelService , ISolutionComponentService solutionComponentService , IFormService formService , ISystemFormDependency dependencyService , IDefaultSystemFormProvider defaultSystemFormProvider) { _appContext = appContext; _systemFormRepository = systemFormRepository; _localizedLabelService = localizedLabelService; _solutionComponentService = solutionComponentService; _formService = formService; _dependencyService = dependencyService; _defaultSystemFormProvider = defaultSystemFormProvider; _cacheService = new Caching.CacheManager <Domain.SystemForm>(_appContext.OrganizationUniqueName + ":systemforms", _appContext.PlatformSettings.CacheEnabled); }
public SystemFormDeleter(IAppContext appContext , ISystemFormRepository systemFormRepository , ILocalizedLabelService localizedLabelService , ISolutionComponentService solutionComponentService , IFormService formService , ISystemFormDependency dependencyService , IDependencyChecker dependencyChecker , IEventPublisher eventPublisher , IEnumerable <ICascadeDelete <Domain.SystemForm> > cascadeDeletes) { _appContext = appContext; _systemFormRepository = systemFormRepository; _localizedLabelService = localizedLabelService; _solutionComponentService = solutionComponentService; _formService = formService; _dependencyService = dependencyService; _dependencyChecker = dependencyChecker; _eventPublisher = eventPublisher; _cascadeDeletes = cascadeDeletes; _cacheService = new Caching.CacheManager <Domain.SystemForm>(_appContext.OrganizationUniqueName + ":systemforms", SystemFormCache.BuildKey); }