mef
MEF - notify when plugins are loaded / unloaded
I have a simple asp mvc app which uses MEF, and there is a route which can be accessed by admins to refresh the directory catalog and compose parts, however one thing I am trying to find out how to do[详细]
2023-04-08 08:41 分类:问答What does "multiple scopes" mean in when talking about MEF (Managed Extensibility Framework) and .NET 4.5?
In What\'s new in .NET 4.5 microsoft says that MEF will now support \"multiple scopes\". What does this mean? I can\'t find documentation on that anyw开发者_如何学运维here.I belive you question is anw[详细]
2023-04-08 03:29 分类:问答MEF/Unity Dependency Resolution failing on multiple threads
My web application uses Unity for DI. Another section of the webapp uses MEF. The code works fine in a single threaded session. But as soon as I click on the same link from two different web sessions[详细]
2023-04-08 02:02 分类:问答Extending Visual Studio 2010 - Replace text in editor with keyboard shortcut
I want to write an extension for the Visual Studio 2010 editor, that replaces/edits开发者_Python百科 the selected text. I\'ve figured out how to do this the \"old way\" by selecting a \"Other Project[详细]
2023-04-07 08:34 分类:问答How can MEF resolve dependencies of assemblies that don't live at the root of the application?
I have written my application to be a class library that is launched by a win32 MFC application.Each of my views is a separate assembly that is located with the base class library that is located in a[详细]
2023-04-07 06:54 分类:问答How do I require that at least one part is imported when using the ImportMany attribute?
By default the ImportAttribute requires that exactly one part will satisfy the contract specified in the attribute.This behavior can be modified with the ImportAttribute.AllowDefault property.Essentia[详细]
2023-04-06 16:10 分类:问答Mvvm and Mef and Item control template
I have the following case on my WPF app : I have a main user control with its MainViewModel which binded to the control datacontext .[详细]
2023-04-06 10:45 分类:问答How to modularize WCF Services + EF4.1
I am designing a rather big Silverlight-project. I intend to make heavy use of modularity, so I chose MEF and PRISM to help me out there. However, when it comes to data, I\'m not quite sure how to tac[详细]
2023-04-06 03:05 分类:问答C# MEF Hangs when creating DirectoryCatalog
I\'m running into a problem with MEF where it\'s hanging when creating the DirectoryCatalog.I have a Windows Forms application that I test the MEF functionality, and it works without a problem.However[详细]
2023-04-06 01:36 分类:问答mefcontrib interceptingCatalog export error
I am trying to test mef and mefcontrib in asp.net mvc2 app but i got an error: Cannot cast the underlying exported value of type LoggerExtSys.Domain.WebLogger[详细]
2023-04-05 04:54 分类:问答
加载中,请稍侯......