{"action":"created","issue":{"url":"https://api.github.com/repos/EmptyKeys/UI_Generator/issues/2","labels_url":"https://api.github.com/repos/EmptyKeys/UI_Generator/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/EmptyKeys/UI_Generator/issues/2/comments","events_url":"https://api.github.com/repos/EmptyKeys/UI_Generator/issues/2/events","html_url":"https://github.com/EmptyKeys/UI_Generator/pull/2","id":79659004,"number":2,"title":"Added Namespace property to UIRoot","user":{"login":"ala53","id":8086191,"avatar_url":"https://avatars.githubusercontent.com/u/8086191?v=3","gravatar_id":"","url":"https://api.github.com/users/ala53","html_url":"https://github.com/ala53","followers_url":"https://api.github.com/users/ala53/followers","following_url":"https://api.github.com/users/ala53/following{/other_user}","gists_url":"https://api.github.com/users/ala53/gists{/gist_id}","starred_url":"https://api.github.com/users/ala53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ala53/subscriptions","organizations_url":"https://api.github.com/users/ala53/orgs","repos_url":"https://api.github.com/users/ala53/repos","events_url":"https://api.github.com/users/ala53/events{/privacy}","received_events_url":"https://api.github.com/users/ala53/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-22T23:52:45Z","updated_at":"2015-05-24T01:25:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/EmptyKeys/UI_Generator/pulls/2","html_url":"https://github.com/EmptyKeys/UI_Generator/pull/2","diff_url":"https://github.com/EmptyKeys/UI_Generator/pull/2.diff","patch_url":"https://github.com/EmptyKeys/UI_Generator/pull/2.patch"},"body":"Hello,\r\nI had an idea to make CodeBehind layers easier. If a \"Namespace\" property is added to UIRoot, then you can specify the namespace to generate the code in - E.g.\r\n\r\n```\r\n<ek:UIRoot \r\n     ...bla bla bla...\r\n     Namespace=\"MyApp.MonoGame.UI.Core\"\r\n```\r\nThen, the generator generates a `MyApp.MonoGame.UI.Core.MyUIPage` class rather than an `EmptyKeys.UserInterface.Generated.MyUIPage` class, which makes the CodeBehind match up a bit better."},"comment":{"url":"https://api.github.com/repos/EmptyKeys/UI_Generator/issues/comments/104962531","html_url":"https://github.com/EmptyKeys/UI_Generator/pull/2#issuecomment-104962531","issue_url":"https://api.github.com/repos/EmptyKeys/UI_Generator/issues/2","id":104962531,"user":{"login":"ala53","id":8086191,"avatar_url":"https://avatars.githubusercontent.com/u/8086191?v=3","gravatar_id":"","url":"https://api.github.com/users/ala53","html_url":"https://github.com/ala53","followers_url":"https://api.github.com/users/ala53/followers","following_url":"https://api.github.com/users/ala53/following{/other_user}","gists_url":"https://api.github.com/users/ala53/gists{/gist_id}","starred_url":"https://api.github.com/users/ala53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ala53/subscriptions","organizations_url":"https://api.github.com/users/ala53/orgs","repos_url":"https://api.github.com/users/ala53/repos","events_url":"https://api.github.com/users/ala53/events{/privacy}","received_events_url":"https://api.github.com/users/ala53/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T01:25:55Z","updated_at":"2015-05-24T01:25:55Z","body":"You're right, that probably would work better. I originally tried to hook into the `x:Class` (auto-generated by VS) but couldn't find a way to access it, so this is almost as good. \r\n\r\nHow does this look? (I also did a slight modification to print all possible `RenderMode` values rather than hard coding the \"SunBurn/MonoGame\" value)"}}