public AbpModuleManager(IIocManager iocManager, IModuleFinder moduleFinder) { _modules = new AbpModuleCollection(); _iocManager = iocManager; _moduleFinder = moduleFinder; Logger = NullLogger.Instance; }
public AbpModuleManager(IIocManager iocManager, IModuleFinder moduleFinder) { _modules = new AbpModuleCollection(); _iocManager = iocManager; _moduleFinder = moduleFinder; Logger = NullLogger.Instance; }
public DefaultModuleManager(IIocManager iocManager, IModuleFinder moduleFinder, IConfigurationManager configurationManager) { _modules = new ModuleCollection(); _iocManager = iocManager; _moduleFinder = moduleFinder; _configurationManager = configurationManager; }
public void ToggleListening(string Name) { IModuleFinder ModuleFinder = ModuleFinderManager.ModuleFinderManager.Current.GetModuleFinder(Name); if (!ModuleFinder.IsListening) { ModuleFinder.StartListening(); } else { ModuleFinder.StopListening(); } }
public ActionResult Details(string Name) { IModuleFinder moduleFinder = ModuleFinderManager.ModuleFinderManager.Current.GetModuleFinder(Name); ModuleFinderDetailsViewModel model = new ModuleFinderDetailsViewModel { Name = moduleFinder.Name, Author = moduleFinder.Author, Version = moduleFinder.Version.ToString(), IsListening = moduleFinder.IsListening }; return(View(model)); }
/// <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>(); }
/// <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 ModuleManager(IModuleFinder moduleFinder) { _moduleFinder = moduleFinder; }
public BootstrapDeserializer(IModuleFinder moduleFinder) { this.moduleFinder = moduleFinder; }
public CLIValidator(IModuleFinder moduleFinder, BootstrapDeserializer bootstrapDeserializer) { this.moduleFinder = moduleFinder; this.boostrapDeserializer = bootstrapDeserializer; }