{"action":"created","issue":{"url":"https://api.github.com/repos/yumapos/Yumapos-WCF-Generator/issues/2","repository_url":"https://api.github.com/repos/yumapos/Yumapos-WCF-Generator","labels_url":"https://api.github.com/repos/yumapos/Yumapos-WCF-Generator/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/yumapos/Yumapos-WCF-Generator/issues/2/comments","events_url":"https://api.github.com/repos/yumapos/Yumapos-WCF-Generator/issues/2/events","html_url":"https://github.com/yumapos/Yumapos-WCF-Generator/issues/2","id":178541982,"number":2,"title":"Настройка генерации WCF","user":{"login":"AntonSmirnovYumasoft","id":14873732,"avatar_url":"https://avatars.githubusercontent.com/u/14873732?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonSmirnovYumasoft","html_url":"https://github.com/AntonSmirnovYumasoft","followers_url":"https://api.github.com/users/AntonSmirnovYumasoft/followers","following_url":"https://api.github.com/users/AntonSmirnovYumasoft/following{/other_user}","gists_url":"https://api.github.com/users/AntonSmirnovYumasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonSmirnovYumasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonSmirnovYumasoft/subscriptions","organizations_url":"https://api.github.com/users/AntonSmirnovYumasoft/orgs","repos_url":"https://api.github.com/users/AntonSmirnovYumasoft/repos","events_url":"https://api.github.com/users/AntonSmirnovYumasoft/events{/privacy}","received_events_url":"https://api.github.com/users/AntonSmirnovYumasoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"AntonSmirnovYumasoft","id":14873732,"avatar_url":"https://avatars.githubusercontent.com/u/14873732?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonSmirnovYumasoft","html_url":"https://github.com/AntonSmirnovYumasoft","followers_url":"https://api.github.com/users/AntonSmirnovYumasoft/followers","following_url":"https://api.github.com/users/AntonSmirnovYumasoft/following{/other_user}","gists_url":"https://api.github.com/users/AntonSmirnovYumasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonSmirnovYumasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonSmirnovYumasoft/subscriptions","organizations_url":"https://api.github.com/users/AntonSmirnovYumasoft/orgs","repos_url":"https://api.github.com/users/AntonSmirnovYumasoft/repos","events_url":"https://api.github.com/users/AntonSmirnovYumasoft/events{/privacy}","received_events_url":"https://api.github.com/users/AntonSmirnovYumasoft/received_events","type":"User","site_admin":false},"assignees":[{"login":"AntonSmirnovYumasoft","id":14873732,"avatar_url":"https://avatars.githubusercontent.com/u/14873732?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonSmirnovYumasoft","html_url":"https://github.com/AntonSmirnovYumasoft","followers_url":"https://api.github.com/users/AntonSmirnovYumasoft/followers","following_url":"https://api.github.com/users/AntonSmirnovYumasoft/following{/other_user}","gists_url":"https://api.github.com/users/AntonSmirnovYumasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonSmirnovYumasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonSmirnovYumasoft/subscriptions","organizations_url":"https://api.github.com/users/AntonSmirnovYumasoft/orgs","repos_url":"https://api.github.com/users/AntonSmirnovYumasoft/repos","events_url":"https://api.github.com/users/AntonSmirnovYumasoft/events{/privacy}","received_events_url":"https://api.github.com/users/AntonSmirnovYumasoft/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-09-22T07:36:08Z","updated_at":"2016-12-07T11:18:12Z","closed_at":null,"body":"Вынести hardcode конфиги генерации WCF \n\n``` c#\n Services = new List<ServiceDetail>\n                    {\n                        new ServiceDetail()\n                        {\n                            UserName = \"IBackOffice\",\n                            FileName = \"IBackOfficeService.cs\"\n                        },\n                        new ServiceDetail()\n                        {\n                            UserName = \"ITerminal\",\n                            FileName = \"IService.cs\"\n                        },\n                        new ServiceDetail()\n                        {\n                            UserName = \"IOnlineService\",\n                            FileName = \"IOnlineService.cs\"\n                        }\n                    }\n```\n\n в конфигурационный файл в отдельную секцию\n\n``` xml\n  <wcfGenerator>\n    <services>\n      <add UserName = \"IBackOffice\" FileName = \"IBackOfficeService.cs\" />\n      <add UserName = \"ITerminal\" FileName = \"IService.cs\"/>\n      <add UserName = \"IOnlineService\" FileName = \"IOnlineService.cs\"/>\n    </services>\n  </wcfGenerator>\n\n```\n"},"comment":{"url":"https://api.github.com/repos/yumapos/Yumapos-WCF-Generator/issues/comments/265422008","html_url":"https://github.com/yumapos/Yumapos-WCF-Generator/issues/2#issuecomment-265422008","issue_url":"https://api.github.com/repos/yumapos/Yumapos-WCF-Generator/issues/2","id":265422008,"user":{"login":"dj-raphael","id":4014986,"avatar_url":"https://avatars.githubusercontent.com/u/4014986?v=3","gravatar_id":"","url":"https://api.github.com/users/dj-raphael","html_url":"https://github.com/dj-raphael","followers_url":"https://api.github.com/users/dj-raphael/followers","following_url":"https://api.github.com/users/dj-raphael/following{/other_user}","gists_url":"https://api.github.com/users/dj-raphael/gists{/gist_id}","starred_url":"https://api.github.com/users/dj-raphael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dj-raphael/subscriptions","organizations_url":"https://api.github.com/users/dj-raphael/orgs","repos_url":"https://api.github.com/users/dj-raphael/repos","events_url":"https://api.github.com/users/dj-raphael/events{/privacy}","received_events_url":"https://api.github.com/users/dj-raphael/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T11:18:12Z","updated_at":"2016-12-07T11:18:12Z","body":"```C#\r\n\t\t [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]\r\n\t\t public YumaPos.Shared.API.ResponseDtos.RestaurantOrderResponseDto EndAddOrder(System.IAsyncResult result)\r\n\t\t {\r\n\t\t   try\r\n\t\t   {\r\n\t\t       return base.Channel.EndAddOrder(result);\r\n\t\t   }\r\n\t\t   catch (Exception)\r\n\t\t   {\r\n\t\t       IsCaughtException = true;\r\n\t\t       throw;\r\n\t\t       return null;\r\n\t\t   }\r\n\t\t }\r\n```\r\nпосле throw не нужно делать\r\nreturn null;\r\n"}}
{"actor":{"display_login":"dj-raphael"}}