There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
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 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!