c# - MEF2 how does the catalogs work? Looks like it's been removed -


i can't find examples on mef2.

i create plugin directory , use directory catalog load imports.

what like:

  1. no attributes. use of configuration builder conventions
  2. plugin directory
  3. when dll added application aware of new exports available.

could use castle windsor this?

if you're referring new windows store version of mef available on nuget, the documentation states,

there no catalog concept, nor composition batches, nor “container hierarchy” or composition scoping apis.

sounds crazy mef 1 developer, page explains rationale well. however, you require:

  • when dll added application aware of new exports available.

this explicitly unavailable in mef 2 (win store) version, since doesn't support re-composition. for need "full" mef .net framework, in system.componentmodel.composition.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -