.NET Framework Bookmark and Share   
 index > Managed Extensibility Framework > Do you will support event subscribe and publish in future vesion fo MEF?
 

Do you will support event subscribe and publish in future vesion fo MEF?

Hi, MEF guys,
I'm new user of MEF. It is great FW. I can use it do more my ideas easily. But I think there has more use case for extensions to subscribe specified events. So, maybe we need this feature like follow:

publicclassPublisher
{
[Export("EventName")]
publiceventEventHandlerEvent{add;remove;}
}
publicclassSubscriber
{
[Subscribe("EventName")]
publicvoidOnEvent(objectsender,EventArgse)
{
//Dosomethings.
}
}

ColinHan
Colin,

It's a interesting idea, Unity has something similar with the Publishes and SubscribeTo attributes. If you could add a new issue to our issue tracker, it will allow us and yourself to track these feature requests (and allows others to vote on them) for inclusion in a future version.

Regards

David
Managed Extensibility Framework Team | My Blog: http://davesbox.com
David M. Kean
Colin,

It's a interesting idea, Unity has something similar with the Publishes and SubscribeTo attributes. If you could add a new issue to our issue tracker, it will allow us and yourself to track these feature requests (and allows others to vote on them) for inclusion in a future version.

Regards

David
Managed Extensibility Framework Team | My Blog: http://davesbox.com
David M. Kean

You can use google to search for other answers

Custom Search

More Threads

• Task List Extensibility
• Catch the close event in word and Powerpoint for Override in Office Add-ins
• Do you support the Default export option
• Weird crash when Candidate provider does not export the imported type
• not able to call vs 2005 c++ "clr" jni dll in other machines without vs 2005???????
• editPoint.get_CodeElement(vsCMElement.vsCMElementEnum) returns null
• MEF and singletons
• Advice on Using .Net frame work with Open Xml for excel automation
• EMAB
• Why Addin is not loaded?