{"action":"closed","issue":{"url":"https://api.github.com/repos/intentor/adic/issues/36","labels_url":"https://api.github.com/repos/intentor/adic/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/intentor/adic/issues/36/comments","events_url":"https://api.github.com/repos/intentor/adic/issues/36/events","html_url":"https://github.com/intentor/adic/issues/36","id":113338804,"number":36,"title":"IEnumerable<T> cannot be injected","user":{"login":"intentor","id":5340818,"avatar_url":"https://avatars.githubusercontent.com/u/5340818?v=3","gravatar_id":"","url":"https://api.github.com/users/intentor","html_url":"https://github.com/intentor","followers_url":"https://api.github.com/users/intentor/followers","following_url":"https://api.github.com/users/intentor/following{/other_user}","gists_url":"https://api.github.com/users/intentor/gists{/gist_id}","starred_url":"https://api.github.com/users/intentor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intentor/subscriptions","organizations_url":"https://api.github.com/users/intentor/orgs","repos_url":"https://api.github.com/users/intentor/repos","events_url":"https://api.github.com/users/intentor/events{/privacy}","received_events_url":"https://api.github.com/users/intentor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/intentor/adic/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"intentor","id":5340818,"avatar_url":"https://avatars.githubusercontent.com/u/5340818?v=3","gravatar_id":"","url":"https://api.github.com/users/intentor","html_url":"https://github.com/intentor","followers_url":"https://api.github.com/users/intentor/followers","following_url":"https://api.github.com/users/intentor/following{/other_user}","gists_url":"https://api.github.com/users/intentor/gists{/gist_id}","starred_url":"https://api.github.com/users/intentor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intentor/subscriptions","organizations_url":"https://api.github.com/users/intentor/orgs","repos_url":"https://api.github.com/users/intentor/repos","events_url":"https://api.github.com/users/intentor/events{/privacy}","received_events_url":"https://api.github.com/users/intentor/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/intentor/adic/milestones/11","html_url":"https://github.com/intentor/adic/milestones/v2.16","labels_url":"https://api.github.com/repos/intentor/adic/milestones/11/labels","id":1270353,"number":11,"title":"v2.16","description":"Version 2.16.","creator":{"login":"intentor","id":5340818,"avatar_url":"https://avatars.githubusercontent.com/u/5340818?v=3","gravatar_id":"","url":"https://api.github.com/users/intentor","html_url":"https://github.com/intentor","followers_url":"https://api.github.com/users/intentor/followers","following_url":"https://api.github.com/users/intentor/following{/other_user}","gists_url":"https://api.github.com/users/intentor/gists{/gist_id}","starred_url":"https://api.github.com/users/intentor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intentor/subscriptions","organizations_url":"https://api.github.com/users/intentor/orgs","repos_url":"https://api.github.com/users/intentor/repos","events_url":"https://api.github.com/users/intentor/events{/privacy}","received_events_url":"https://api.github.com/users/intentor/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2015-08-24T21:07:06Z","updated_at":"2015-10-26T12:28:11Z","due_on":"2015-10-31T02:00:00Z","closed_at":null},"comments":3,"created_at":"2015-10-26T11:50:05Z","updated_at":"2015-10-26T12:28:11Z","closed_at":"2015-10-26T12:28:11Z","body":"When trying to inject a IEnumerable<T>, the following exception occurs:\r\n\r\nInjectorException: There are no constructors on the type System.Collections.Generic.IEnumerable`1[System.Int32].\r\nAdic.Injection.Injector.Instantiate (System.Type type) (at Assets/Adic/Scripts/Framework/Injection/Injector.cs:455)\r\nAdic.Injection.Injector.Resolve (System.Type type, InjectionMember member, System.Object parentInstance, System.Object identifier) (at Assets/Adic/Scripts/Framework/Injection/Injector.cs:227)\r\nAdic.Injection.Injector.InjectFields (System.Object instance, Adic.Cache.SetterInfo[] fields) (at Assets/Adic/Scripts/Framework/Injection/Injector.cs:328)\r\nAdic.Injection.Injector.Inject (System.Object instance, Adic.Cache.ReflectedClass reflectedClass) (at Assets/Adic/Scripts/Framework/Injection/Injector.cs:301)\r\nAdic.Injection.Injector.Instantiate (System.Type type) (at Assets/Adic/Scripts/Framework/Injection/Injector.cs:465)\r\nAdic.Injection.Injector.ResolveBinding (Adic.Binding.BindingInfo binding, System.Type type, InjectionMember member, System.Object parentInstance, System.Object identifier) (at Assets/Adic/Scripts/Framework/Injection/Injector.cs:415)\r\nAdic.Injection.Injector.Resolve (System.Type type, InjectionMember member, System.Object parentInstance, System.Object identifier) (at Assets/Adic/Scripts/Framework/Injection/Injector.cs:232)\r\nAdic.Injection.Injector.Resolve[HelloWorld] () (at Assets/Adic/Scripts/Framework/Injection/Injector.cs:51)\r\nAdic.Examples.HelloWorld.GameRoot.SetupContainers () (at Assets/Adic/Examples/01_HelloWorld/Scripts/GameRoot.cs:18)\r\nAdic.ContextRoot.Awake () (at Assets/Adic/Scripts/Extensions/ContextRoot/ContextRoot.cs:52)\r\n"}}