{"action":"created","issue":{"url":"https://api.github.com/repos/simpleinjector/SimpleInjector/issues/516","repository_url":"https://api.github.com/repos/simpleinjector/SimpleInjector","labels_url":"https://api.github.com/repos/simpleinjector/SimpleInjector/issues/516/labels{/name}","comments_url":"https://api.github.com/repos/simpleinjector/SimpleInjector/issues/516/comments","events_url":"https://api.github.com/repos/simpleinjector/SimpleInjector/issues/516/events","html_url":"https://github.com/simpleinjector/SimpleInjector/issues/516","id":298767704,"number":516,"title":"RegisterCollection like action using LifeStyle","user":{"login":"guy-lud","id":10279653,"avatar_url":"https://avatars1.githubusercontent.com/u/10279653?v=4","gravatar_id":"","url":"https://api.github.com/users/guy-lud","html_url":"https://github.com/guy-lud","followers_url":"https://api.github.com/users/guy-lud/followers","following_url":"https://api.github.com/users/guy-lud/following{/other_user}","gists_url":"https://api.github.com/users/guy-lud/gists{/gist_id}","starred_url":"https://api.github.com/users/guy-lud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guy-lud/subscriptions","organizations_url":"https://api.github.com/users/guy-lud/orgs","repos_url":"https://api.github.com/users/guy-lud/repos","events_url":"https://api.github.com/users/guy-lud/events{/privacy}","received_events_url":"https://api.github.com/users/guy-lud/received_events","type":"User","site_admin":false},"labels":[{"id":197522075,"url":"https://api.github.com/repos/simpleinjector/SimpleInjector/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-20T22:09:47Z","updated_at":"2018-02-21T09:28:54Z","closed_at":null,"author_association":"NONE","body":"Hi @dotnetjunkie,\r\n\r\nI have a question about the ability to register a collection using a `LifeStyle`.\r\n\r\nThe scenario is when an `ResolveUnregisteredType` event is invoked i'll check to see if the `UnregisteredServiceType` is of type `IEnumerable<>`.\r\n\r\nAfter getting the `ElementType` i would like to register the type as a collection with the same LifeStyle as the `ElementType` was registered (if was registered).\r\n\r\nThis is an edge case i am trying to solve and not the best practice, yet it needs to be done"},"comment":{"url":"https://api.github.com/repos/simpleinjector/SimpleInjector/issues/comments/367264071","html_url":"https://github.com/simpleinjector/SimpleInjector/issues/516#issuecomment-367264071","issue_url":"https://api.github.com/repos/simpleinjector/SimpleInjector/issues/516","id":367264071,"user":{"login":"dotnetjunkie","id":1506621,"avatar_url":"https://avatars1.githubusercontent.com/u/1506621?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnetjunkie","html_url":"https://github.com/dotnetjunkie","followers_url":"https://api.github.com/users/dotnetjunkie/followers","following_url":"https://api.github.com/users/dotnetjunkie/following{/other_user}","gists_url":"https://api.github.com/users/dotnetjunkie/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnetjunkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnetjunkie/subscriptions","organizations_url":"https://api.github.com/users/dotnetjunkie/orgs","repos_url":"https://api.github.com/users/dotnetjunkie/repos","events_url":"https://api.github.com/users/dotnetjunkie/events{/privacy}","received_events_url":"https://api.github.com/users/dotnetjunkie/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T09:28:54Z","updated_at":"2018-02-21T09:28:54Z","author_association":"COLLABORATOR","body":"Do you have that list available at application start-up?"}}
{"actor":{"display_login":"dotnetjunkie"}}