Pause or deactivate an MEF component, or execute default implementation.

Michael Six 1 Reputation point
2022-12-26T19:43:07.537+00:00

Hi im writing a costum intellisense item provider ->
[Export(typeof(IAsyncCompletionItemManagerProvider))]
[Name("Default completion item manager")]
[ContentType("CSharp")]
[Order(Before = PredefinedCompletionNames.DefaultCompletionItemManager)]

Im wondering, is it possible to pause / deactivate such mef components and use the editors default behavior instead?
In this case, if there is a default completionitemmanager registered, could i call it inside my implementation of it?

Im searching for a way to pause my own implementation.

Thanks

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
23,868 questions
{count} votes