Beispiel #1
0
        public void GenerateScanDataFiles(IProgressStatus monitor, AddinRegistry registry, string scanFolder, bool recursive)
        {
            AddinRegistry reg = new AddinRegistry(registry.RegistryPath, registry.StartupDirectory, registry.DefaultAddinsFolder, registry.AddinCachePath);

            reg.CopyExtensionsFrom(registry);
            reg.GenerateScanDataFilesInProcess(monitor, scanFolder, recursive);
        }
Beispiel #2
0
        public void Scan(IProgressStatus monitor, AddinRegistry registry, string scanFolder, ScanOptions context)
        {
            AddinRegistry reg = new AddinRegistry(registry.RegistryPath, registry.StartupDirectory, registry.DefaultAddinsFolder, registry.AddinCachePath);

            reg.CopyExtensionsFrom(registry);
            reg.ScanFolders(monitor, scanFolder, context);
        }
Beispiel #3
0
		public void Scan (IProgressStatus monitor, AddinRegistry registry, string scanFolder, string[] filesToIgnore)
		{
			AddinRegistry reg = new AddinRegistry (registry.RegistryPath, registry.StartupDirectory, registry.DefaultAddinsFolder, registry.AddinCachePath);
			reg.CopyExtensionsFrom (registry);
			StringCollection files = new StringCollection ();
			for (int n=0; n<filesToIgnore.Length; n++)
				files.Add (filesToIgnore[n]);
			reg.ScanFolders (monitor, scanFolder, files);
		}
Beispiel #4
0
        public void Scan(IProgressStatus monitor, AddinRegistry registry, string scanFolder, string[] filesToIgnore)
        {
            AddinRegistry reg = new AddinRegistry(registry.RegistryPath, registry.StartupDirectory, registry.DefaultAddinsFolder, registry.AddinCachePath);

            reg.CopyExtensionsFrom(registry);
            StringCollection files = new StringCollection();

            for (int n = 0; n < filesToIgnore.Length; n++)
            {
                files.Add(filesToIgnore[n]);
            }
            reg.ScanFolders(monitor, scanFolder, files);
        }