Created Unassigned: MEF2 error with custom metadata attributes [14625]
The nuget version of MEF (MEF2?) can't handle null values on custom metadata attributes when AllowMultiple is true. It will try to construct an array (which is ok) but TypeInspector.AddMetadata calls...
View ArticleNew Post: Contract implementation is silently excluded from an ImportMany...
How can I programatically determine when a contract implementation is silently excluded from an ImportMany property collection due to an unfulfilled contract inside the implementation? Consider a...
View ArticleNew Post: WCF service and MEF created instances lifetime
I have a WCF service class that is requested periodically from UI data it should retrieve. In the service class I import usually shared parts (they are used by other WCF services and expensive to...
View ArticleNew Post: WCF service and MEF created instances lifetime
Just wanted to give more details. Looking for gc roots for one of the many service instances created I indeed confirm that a reference is being held to my service class:!mroot 0000000006e9c660...
View ArticleNew Comment on "MetroChanges"
Hi, I'm really having a hard time finding a Windows Store App using these features coupled with Prism. Can you link me to a good example please? And a plus would be using ConventionBuilder. I would...
View ArticleNew Post: MEF - what features can we expect?
Hi, Where can I find a full working example version of Prism + MEF for Windows Runtime? Thanks!...
View ArticleNew Post: UWP + Shared scope
Hi All, I may be doing some stupid here as Shared do not seems to be working for me at all. Multiple instances created. Here it is: Define interfaces:namespace TestMef { public interface...
View ArticleNew Post: UWP + Shared scope
Think I found why This call in MainPageViewController and Worker not required.var configuration = new ContainerConfiguration().WithAssembly(typeof(App).GetTypeInfo().Assembly); using (var container =...
View ArticleNew Post: What is Up with This Project?
Hello, I have spent the past hour trying to figure out MEF2. For starters, it appears that the current release has been available since the beginning of this year, but the documentation is terrible, to...
View ArticleCreated Unassigned: MEF2 - troubles with exporting value types (bool, int,...
Hi,I'm trying export properties with types like boolean or integer, but I'm getting this exception: Expression of type 'System.Boolean' cannot be used for return type 'System.Object' I find out problem...
View ArticleCreated Unassigned: Missing source for Microsoft.Composition [14627]
I can't seem to find the source code for the Microsoft.Composition nuget package anywhere, but Roslyn needs it, and [the .NET Foundation site](https://www.dotnetfoundation.org/mef) seems to imply that...
View ArticleCommented Unassigned: Missing source for Microsoft.Composition [14627]
I can't seem to find the source code for the Microsoft.Composition nuget package anywhere, but Roslyn needs it, and [the .NET Foundation site](https://www.dotnetfoundation.org/mef) seems to imply that...
View ArticleNew Post: What is Up with This Project?
For anyone else wondering, this project has been moved to the CoreFX (.NET Core) libraries. Here is an example assembly:https://github.com/dotnet/corefx/tree/master/src/System.Composition.TypedParts/src
View ArticleNew Post: How do you use this with Prism?
I can't seem to find a way to use this with Prism without having to use:using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; ..to create my AggregateCatalog, my...
View ArticleCreated Unassigned: MEF exceptions are pre-Disposed [14628]
Exceptions thrown by MEF throw ObjectDisposedException if the CompositionContainer has been disposed (as when the ```try``` is outside the ```using```. This is atypical: ```Exception```s aren't...
View ArticleNew Post: how to add user defined values to MEF object to access from...
is there an way to include user defined values ex:logged in user id to MEF object , so that we can access the value across the layer in different project. let me know the steps if possible.
View ArticleReviewed: MEF Analysis Tool (mefx) for .NET 4.0 Beta (6月 17, 2016)
Rated 5 Stars (out of 5) - 非要回复才能下载
View ArticleNew Post: MEF thread safety
The export providers like:CompositionContainerComposablePartExportProvider CatalogExportProvider have dedicated constructors that accept parameter (bool isThreadSafe) indicating that it should be "true...
View Article