public ProjectAnalyserService( File project, IDependencyChecker dependencyChecker) { _project = project; _dependencyChecker = dependencyChecker; }
/// <summary> /// Initializes new instance of the <see cref="ModuleManager"/> class. /// </summary> /// <param name="moduleLoader">A module loader service, that will load individual modules. May not be <c>null</c>.</param> /// <param name="moduleFilter">A filter to selected modules that will actually be loaded</param> /// <param name="dependencyChecker">A dependency checker facility which is reposonsible for sorting the modules before loading.</param> /// <exception cref="ArgumentNullException">When <paramref name="moduleLoader"/> is <c>null</c></exception> public ModuleManager(IModuleLoader moduleLoader, IModuleFilter moduleFilter,IDependencyChecker dependencyChecker) { if (moduleLoader == null) throw new ArgumentNullException("moduleLoader"); _moduleLoader = moduleLoader; _moduleFilter = moduleFilter; _dependencyChecker = dependencyChecker; }
public FolderAnalyserService( Folder folder, IDependencyChecker dependencyChecker) { _folder = folder; _dependencyChecker = dependencyChecker; }
public ChartDeleter(IChartRepository chartRepository , ILocalizedLabelService localizedLabelService , IChartDependency dependencyService , IDependencyChecker dependencyChecker) { _chartRepository = chartRepository; _localizedLabelService = localizedLabelService; _dependencyService = dependencyService; _dependencyChecker = dependencyChecker; }
public RibbonButtonDeleter(IRibbonButtonRepository ribbonButtonRepository , ILocalizedLabelService localizedLabelService , IRibbonButtonDependency dependencyService , IDependencyChecker dependencyChecker) { _ribbonButtonRepository = ribbonButtonRepository; _localizedLabelService = localizedLabelService; _dependencyService = dependencyService; _dependencyChecker = dependencyChecker; }
/// <summary> /// Initializes new instance of the <see cref="ModuleManager"/> class. /// </summary> /// <param name="moduleLoader">A module loader service, that will load individual modules. May not be <c>null</c>.</param> /// <param name="moduleFilter">A filter to selected modules that will actually be loaded</param> /// <param name="dependencyChecker">A dependency checker facility which is reposonsible for sorting the modules before loading.</param> /// <exception cref="ArgumentNullException">When <paramref name="moduleLoader"/> is <c>null</c></exception> public ModuleManager(IModuleLoader moduleLoader, IModuleFilter moduleFilter, IDependencyChecker dependencyChecker) { if (moduleLoader == null) { throw new ArgumentNullException("moduleLoader"); } _moduleLoader = moduleLoader; _moduleFilter = moduleFilter; _dependencyChecker = dependencyChecker; }
public WebResourceDeleter(IAppContext appContext , IWebResourceRepository webResourceRepository , ILocalizedLabelService localizedLabelService , ISolutionComponentService solutionComponentService , IDependencyService dependencyService , IDependencyChecker dependencyChecker) { _appContext = appContext; _webResourceRepository = webResourceRepository; _localizedLabelService = localizedLabelService; _solutionComponentService = solutionComponentService; _dependencyService = dependencyService; _dependencyChecker = dependencyChecker; _cacheService = new Caching.CacheManager <Domain.WebResource>(_appContext.OrganizationUniqueName + "webresource"); }
/// <summary> /// Initializes updater instance with proper engines. /// </summary> /// <param name="targetDirectory">directory to install modules to</param> /// <param name="modulesRepository">backend used to retrieve modules information. ie. WebServiceModulesRepository, WebModulesRepository, and so on</param> /// <param name="modulesOperations">backend used to unload / load modules</param> /// <param name="eventAggregator">event aggregator for providing events</param> /// <param name="modulePackager">packager used for unpacking packages</param> /// <param name="dependencyChecker">dependency checker engine used for validating the outcome</param> public NomadUpdater(string targetDirectory, IModulesRepository modulesRepository, IModulesOperations modulesOperations, IEventAggregator eventAggregator, IModulePackager modulePackager, IDependencyChecker dependencyChecker, IModuleFinder moduleFinder) { Status = UpdaterStatus.Idle; _targetDirectory = targetDirectory; _moduleFinder = moduleFinder; _dependencyChecker = dependencyChecker; _modulePackager = modulePackager; _modulesRepository = modulesRepository; _modulesOperations = modulesOperations; _eventAggregator = eventAggregator; _modulesPackages = new List <ModulePackage>(); }
public QueryViewDeleter(IAppContext appContext , IQueryViewRepository queryViewRepository , ILocalizedLabelService localizedLabelService , IQueryViewDependency dependencyService , IDependencyChecker dependencyChecker , IEventPublisher eventPublisher , IEnumerable <ICascadeDelete <Domain.QueryView> > cascadeDeletes) { _appContext = appContext; _queryViewRepository = queryViewRepository; _localizedLabelService = localizedLabelService; _dependencyService = dependencyService; _dependencyChecker = dependencyChecker; _eventPublisher = eventPublisher; _cascadeDeletes = cascadeDeletes; _cacheService = new Caching.CacheManager <Domain.QueryView>(_appContext.OrganizationUniqueName + ":queryviews", _appContext.PlatformSettings.CacheEnabled); }
/// <summary> /// Initializes updater instance with proper engines. /// </summary> /// <param name="targetDirectory">directory to install modules to</param> /// <param name="modulesRepository">backend used to retrieve modules information. ie. WebServiceModulesRepository, WebModulesRepository, and so on</param> /// <param name="modulesOperations">backend used to unload / load modules</param> /// <param name="eventAggregator">event aggregator for providing events</param> /// <param name="modulePackager">packager used for unpacking packages</param> /// <param name="dependencyChecker">dependency checker engine used for validating the outcome</param> public NomadUpdater(string targetDirectory, IModulesRepository modulesRepository, IModulesOperations modulesOperations, IEventAggregator eventAggregator, IModulePackager modulePackager, IDependencyChecker dependencyChecker, IModuleFinder moduleFinder) { Status = UpdaterStatus.Idle; _targetDirectory = targetDirectory; _moduleFinder = moduleFinder; _dependencyChecker = dependencyChecker; _modulePackager = modulePackager; _modulesRepository = modulesRepository; _modulesOperations = modulesOperations; _eventAggregator = eventAggregator; _modulesPackages = new List<ModulePackage>(); }
public EntityDeleter(IAppContext appContext , IEntityRepository entityRepository , ISolutionComponentService solutionComponentService , ILocalizedLabelService localizedLabelService , IDependencyService dependencyService , IDependencyChecker dependencyChecker , IEnumerable <ICascadeDelete <Domain.Entity> > cascadeDeletes ) { _appContext = appContext; _entityRepository = entityRepository; _localizedLabelService = localizedLabelService; _cacheService = new Caching.CacheManager <Domain.Entity>(_appContext.OrganizationUniqueName + ":entities", EntityCache.BuildKey); _solutionComponentService = solutionComponentService; _dependencyService = dependencyService; _dependencyChecker = dependencyChecker; _cascadeDeletes = cascadeDeletes; }
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); }
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); }
public AttributeDeleter(IAppContext appContext , IAttributeRepository attributeRepository , IEntityFinder entityFinder , ILocalizedLabelService localizedLabelService , IMetadataService metadataService , IAttributeDependency dependencyService , IDependencyChecker dependencyChecker , IEventPublisher eventPublisher , IEnumerable <ICascadeDelete <Domain.Attribute> > cascadeDeletes) { _appContext = appContext; _attributeRepository = attributeRepository; _loc = _appContext.GetFeature <ILocalizedTextProvider>(); _localizedLabelService = localizedLabelService; _entityFinder = entityFinder; _metadataService = metadataService; _dependencyService = dependencyService; _dependencyChecker = dependencyChecker; _eventPublisher = eventPublisher; _cascadeDeletes = cascadeDeletes; _cacheService = new Caching.CacheManager <Domain.Attribute>(_appContext.OrganizationUniqueName + ":attributes", _appContext.PlatformSettings.CacheEnabled); }
public AnalyserServicesFactory( IDependencyChecker dependencyChecker) { _dependencyChecker = dependencyChecker; }
internal AnalyserServicesFactoryBuilder WithDependencyChecker( IDependencyChecker dependencyChecker) { _dependencyChecker = dependencyChecker; return(this); }