How would I go about globally intercepting the creation/resolution of all instances by my container? I开发者_Go百科 know I can do this individually with OnCreated on a per-component basis, but I want to do this globally for all objects resolved by the container.
Thanks.
Try subscribing to IKernel.ComponentCreated
event.
精彩评论