Exemplo n.º 1
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);
        }
Exemplo n.º 2
0
        public void Scan(IProgressStatus monitor, AddinRegistry registry, string scanFolder, ScanOptions context)
        {
            var data = new List <string> (context.Write());

            ExecuteCommand(monitor, registry.RegistryPath, registry.StartupDirectory, registry.DefaultAddinsFolder, registry.AddinCachePath, "scan", scanFolder, data);
        }