{"action":"opened","issue":{"url":"https://api.github.com/repos/simpleinjector/SimpleInjector/issues/153","labels_url":"https://api.github.com/repos/simpleinjector/SimpleInjector/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/simpleinjector/SimpleInjector/issues/153/comments","events_url":"https://api.github.com/repos/simpleinjector/SimpleInjector/issues/153/events","html_url":"https://github.com/simpleinjector/SimpleInjector/issues/153","id":118641680,"number":153,"title":"Can I execute logic when a dependency instance is first resolved?","user":{"login":"apetkovic","id":1282594,"avatar_url":"https://avatars.githubusercontent.com/u/1282594?v=3","gravatar_id":"","url":"https://api.github.com/users/apetkovic","html_url":"https://github.com/apetkovic","followers_url":"https://api.github.com/users/apetkovic/followers","following_url":"https://api.github.com/users/apetkovic/following{/other_user}","gists_url":"https://api.github.com/users/apetkovic/gists{/gist_id}","starred_url":"https://api.github.com/users/apetkovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apetkovic/subscriptions","organizations_url":"https://api.github.com/users/apetkovic/orgs","repos_url":"https://api.github.com/users/apetkovic/repos","events_url":"https://api.github.com/users/apetkovic/events{/privacy}","received_events_url":"https://api.github.com/users/apetkovic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-24T16:04:12Z","updated_at":"2015-11-24T16:04:12Z","closed_at":null,"body":"I've used OnActivation and OnDeactivation methods in Ninject to execute logic when an instance is first resolved. I checked the documentation and couldn't find anything like that for Simple Injector. I use this for things like handling events that are raised in a specific instance. Is there a way to extend Simple Injector and create this behavior?"}}