开发者

Is there a multi-directory DirectoryCatalog available in MEF or open source?

开发者 https://www.devze.com 2023-04-11 21:29 出处:网络
I\'d like to separate extensions into their own subdirectory of some Extensions directory. I can specify multiple DirectoryCatalog of course and put them into an AggregateCatalog. But I have开发者_开发

I'd like to separate extensions into their own subdirectory of some Extensions directory. I can specify multiple DirectoryCatalog of course and put them into an AggregateCatalog. But I have开发者_开发百科 to go scan that directory and create those. Not a big deal, but is there something like MultiDirectoryCatalog out there?


Nope the best you will be able to do is an AggregateCatalog with a multiple DirectoryCatalogs. At least with what ships in the .NET Framework itself.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号