Generic Export With Method Export

Given this import: provider.GetExportedValues<Foo<int>>(); This works: [Export] public class Foo<T> { public void Blah() { } } (Returns 1 export for Foo<int>). This does not work: [Ex...

Id #10747 | Release: None | Updated: May 9 at 7:11 AM by hendryluk | Created: May 9 at 7:11 AM by hendryluk

Add a strong name key to assemblies

The assemblies available in the download cannot be used in solutions that are strong named.

Id #10260 | Release: None | Updated: Jan 29 at 10:34 PM by rprimrose | Created: Jan 29 at 10:34 PM by rprimrose

Unity integration and registration names

MefContrib has a bug when using registration names in Unity. It throws the ImportCardinalityMismatchException, because it ignores the registration names when creating the contract names. I have th...

Id #9768 | Release: None | Updated: Nov 7 2011 at 8:50 PM by mrinaldi | Created: Nov 7 2011 at 8:50 PM by mrinaldi

MefContrib.MVC3

Hi All, I'm using MefContrib.MVC3 and have a rather bizar issue. When i use DependencyResolver.Current.GetServices<T>() it returns my items twice. I made an interface IStartupTask and decorated ...

Id #9101 | Release: None | Updated: Sep 8 2011 at 8:59 PM by Alive43 | Created: Jul 17 2011 at 1:49 PM by sebdg

Missing Unity (Silverlight) library in latest source (47517)

The latest source (changeset 47517) has a missing Unity (Silverlight) library, The desktop version is present.

Id #6019 | Release: None | Updated: Apr 28 2010 at 8:11 AM by metaman | Created: Apr 28 2010 at 8:11 AM by metaman

[ImportingContsructor] doesn't work with an open generic.

To fix add the following to TypeHelper public static bool IsReflectionParameterImportDefinition(ImportDefinition definition) { return definition.GetType().Name.Equals("Reflecti...

Id #5856 | Release: None | Updated: Sep 17 2010 at 3:08 AM by dancemonkey | Created: Apr 5 2010 at 5:59 PM by jabbera

GenericCatalog CreateDynamicExport returing null is some cases

If the importDefinition passed to CreateDynamicExport is a non generic interface the return value could be null. This should never happen or the program will crash. Using reflector on CatalogExpor...

Id #5833 | Release: None | Updated: Mar 31 2010 at 6:59 PM by jabbera | Created: Mar 31 2010 at 6:59 PM by jabbera

Provider Model - DefinitionProviderPartCatalog does not cache values unless aggregated

The DefinitionProviderPartCatalog does not cache any parts unless it's added to an AggregateCatalog first. This means that when the AddProviderPart metnod is called on the CompositionContainer it w...

Id #1943 | Release: MefContrib 0.4.0.0 | Updated: Mar 7 2009 at 7:28 PM by TheCodeJunkie | Created: Mar 5 2009 at 8:35 PM by TheCodeJunkie

  • 1-8 of 8 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Work Items