开发者

access child composition container in mef

开发者 https://www.devze.com 2023-02-23 14:31 出处:网络
Given a composition container that holds a nested composition container, how do I access the nested c开发者_如何学Container?By default you cannot directly access the nested containers you passed to a

Given a composition container that holds a nested composition container, how do I access the nested c开发者_如何学Container?


By default you cannot directly access the nested containers you passed to a container. However you could look at the Providers property which will list all the ExportProviders that are currently being used by a given CompositionContainer (CompositionContainer is just a special ExportProvider) and find the ones that are CompositionContainers.

0

精彩评论

暂无评论...
验证码 换一张
取 消