c# - How do I find all assemblies containing type/member matching a pattern? -
i have folder (possibly, nested sub-folders) containing thousands of files, of them dlls, , of dlls .net assemblies. need find assemblies containing types/members matching pattern (e.g. "*collection"
, or "create*"
). best (fastest) way this?
it ok suggest open-source libraries long usage not require open source code.
maybe api useful you: http://cciast.codeplex.com/
microsoft research common compiler infrastructure (cci) set of libraries , application programming interface (api) supports of functionality common compilers , related programming tools. cci used applications create, modify or analyze .net portable executable (pe) , debug (pdb) files.
or can load assembly.loadfrom(path) , call assembly.getexportedtypes()
Comments
Post a Comment