{"action":"created","issue":{"url":"https://api.github.com/repos/PrismLibrary/Prism/issues/360","labels_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/360/comments","events_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/360/events","html_url":"https://github.com/PrismLibrary/Prism/issues/360","id":122382065,"number":360,"title":"RegisterViewWithRegion is not scoped","user":{"login":"Qwin","id":1026038,"avatar_url":"https://avatars.githubusercontent.com/u/1026038?v=3","gravatar_id":"","url":"https://api.github.com/users/Qwin","html_url":"https://github.com/Qwin","followers_url":"https://api.github.com/users/Qwin/followers","following_url":"https://api.github.com/users/Qwin/following{/other_user}","gists_url":"https://api.github.com/users/Qwin/gists{/gist_id}","starred_url":"https://api.github.com/users/Qwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qwin/subscriptions","organizations_url":"https://api.github.com/users/Qwin/orgs","repos_url":"https://api.github.com/users/Qwin/repos","events_url":"https://api.github.com/users/Qwin/events{/privacy}","received_events_url":"https://api.github.com/users/Qwin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-15T22:30:15Z","updated_at":"2015-12-16T01:02:17Z","closed_at":"2015-12-15T23:17:19Z","body":"HI,\r\n\r\nI just wanted to say that in my project I had many issues related to this. The RegisterViewWithRegion method which uses internally a IRegionViewRegistry is not being scoped when creating a new scoped regionmanager. Solutions that might be good to think about is as follows: \r\n\r\n- Create a new instance of the RegionViewRegistery per RegionManager\r\n- Create an unregister method to be able to unregister a view from a region\r\n- Add another identifier to the RegionViewRegistery that makes it unique per RegionManager used (at the moment view + region is not sufficient) \r\n\r\nNow I know I can customize prism to do this, however shouldnt one of these be default instead of registertoregion being global ? \r\n\r\nKind regards,\r\nRobert"},"comment":{"url":"https://api.github.com/repos/PrismLibrary/Prism/issues/comments/164950168","html_url":"https://github.com/PrismLibrary/Prism/issues/360#issuecomment-164950168","issue_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/360","id":164950168,"user":{"login":"brianlagunas","id":835562,"avatar_url":"https://avatars.githubusercontent.com/u/835562?v=3","gravatar_id":"","url":"https://api.github.com/users/brianlagunas","html_url":"https://github.com/brianlagunas","followers_url":"https://api.github.com/users/brianlagunas/followers","following_url":"https://api.github.com/users/brianlagunas/following{/other_user}","gists_url":"https://api.github.com/users/brianlagunas/gists{/gist_id}","starred_url":"https://api.github.com/users/brianlagunas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianlagunas/subscriptions","organizations_url":"https://api.github.com/users/brianlagunas/orgs","repos_url":"https://api.github.com/users/brianlagunas/repos","events_url":"https://api.github.com/users/brianlagunas/events{/privacy}","received_events_url":"https://api.github.com/users/brianlagunas/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T01:02:17Z","updated_at":"2015-12-16T01:02:17Z","body":"If you have time it would be great of you could make a note in the docs and submit a PR :)"}}