1

Resolved

Provider Model - DefinitionProviderPartCatalog does not cache values unless aggregated

description

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 will fail with an exception. The reason for this is that the method will try to retreive a ProviderComposablePartDefinition for the object instance and the cache will be empty!

comments

TheCodeJunkie wrote Mar 5, 2009 at 8:36 PM

A quick work around for this, until a fix has been checked in, is to add the DefinitionProviderPartCatalog to an AggregateCatalog which is then passed to the CompositionContainer

wrote Mar 5, 2009 at 8:51 PM

TheCodeJunkie wrote Mar 7, 2009 at 7:26 PM

This issue has been resolved in change set 15094

wrote Mar 7, 2009 at 7:28 PM

wrote Feb 14, 2013 at 7:47 PM

wrote May 16, 2013 at 9:39 AM

wrote May 16, 2013 at 9:39 AM

wrote Jun 14, 2013 at 7:15 AM