Exemplo n.º 1
0
        public List <string> GetFiles()
        {
            List <string> files = null;

            if (IsLibaryDll)
            {
                if (ISABS)
                {
                    files = FileUtils.GetFilePaths(Path, "*.dll", true, SearchOption.AllDirectories);
                }
                else
                {
                    files = FileUtils.GetFilePaths(ModuleDefManager.GetStaticLibPath() + Path, "*.dll", true, SearchOption.TopDirectoryOnly);
                }
            }
            else
            {
                if (ISABS)
                {
                    files = FileUtils.GetFilePaths(Path, "*.lib", true, SearchOption.AllDirectories);
                }
                else
                {
                    files = FileUtils.GetFilePaths(ModuleDefManager.GetStaticLibPath() + Path, "*.lib", true, SearchOption.TopDirectoryOnly);
                }
            }
            return(files);
        }