{"action":"created","comment":{"url":"https://api.github.com/repos/haven1433/autoimplement/pulls/comments/226501595","pull_request_review_id":166340037,"id":226501595,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjUwMTU5NQ==","diff_hunk":"@@ -156,8 +156,8 @@ private static void GenerateImplementation<TPatternBuilder>(Type interfaceType)\n                foreach (var member in FindAllMembers(interfaceType)) {\r\n                   var metadata = new MemberMetadata(member);\r\n                   switch (member.MemberType) {\r","path":"src/AutoImplement/Program.cs","position":21,"original_position":21,"commit_id":"09b1e9e7765449a93907409355e83129a3956a23","original_commit_id":"09b1e9e7765449a93907409355e83129a3956a23","user":{"login":"mshafer1","id":2565361,"node_id":"MDQ6VXNlcjI1NjUzNjE=","avatar_url":"https://avatars0.githubusercontent.com/u/2565361?v=4","gravatar_id":"","url":"https://api.github.com/users/mshafer1","html_url":"https://github.com/mshafer1","followers_url":"https://api.github.com/users/mshafer1/followers","following_url":"https://api.github.com/users/mshafer1/following{/other_user}","gists_url":"https://api.github.com/users/mshafer1/gists{/gist_id}","starred_url":"https://api.github.com/users/mshafer1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshafer1/subscriptions","organizations_url":"https://api.github.com/users/mshafer1/orgs","repos_url":"https://api.github.com/users/mshafer1/repos","events_url":"https://api.github.com/users/mshafer1/events{/privacy}","received_events_url":"https://api.github.com/users/mshafer1/received_events","type":"User","site_admin":false},"body":"Why not use a list (or array) of supported MemberTypes, something like:\r\n```suggestion\r\n                  var supportedMemberTypes = new List<MemberTypes>(){MemberTypes.Method, MemberTypes.Event, MemberTypes.Property};\r\n                  if(!supportedMemberTypes.Contains(member.MemberType)) {\r\n                      throw new NotImplementedException($\"AutoImplement has no way to implement a {member.MemberType} member.\");\r\n                  }\r\n```","created_at":"2018-10-19T00:03:26Z","updated_at":"2018-10-19T00:04:43Z","html_url":"https://github.com/haven1433/autoimplement/pull/5#discussion_r226501595","pull_request_url":"https://api.github.com/repos/haven1433/autoimplement/pulls/5","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/haven1433/autoimplement/pulls/comments/226501595"},"html":{"href":"https://github.com/haven1433/autoimplement/pull/5#discussion_r226501595"},"pull_request":{"href":"https://api.github.com/repos/haven1433/autoimplement/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/haven1433/autoimplement/pulls/5","id":222687545,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjg3NTQ1","html_url":"https://github.com/haven1433/autoimplement/pull/5","diff_url":"https://github.com/haven1433/autoimplement/pull/5.diff","patch_url":"https://github.com/haven1433/autoimplement/pull/5.patch","issue_url":"https://api.github.com/repos/haven1433/autoimplement/issues/5","number":5,"state":"open","locked":false,"title":"Haven1433 dev","user":{"login":"haven1433","id":10834600,"node_id":"MDQ6VXNlcjEwODM0NjAw","avatar_url":"https://avatars2.githubusercontent.com/u/10834600?v=4","gravatar_id":"","url":"https://api.github.com/users/haven1433","html_url":"https://github.com/haven1433","followers_url":"https://api.github.com/users/haven1433/followers","following_url":"https://api.github.com/users/haven1433/following{/other_user}","gists_url":"https://api.github.com/users/haven1433/gists{/gist_id}","starred_url":"https://api.github.com/users/haven1433/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haven1433/subscriptions","organizations_url":"https://api.github.com/users/haven1433/orgs","repos_url":"https://api.github.com/users/haven1433/repos","events_url":"https://api.github.com/users/haven1433/events{/privacy}","received_events_url":"https://api.github.com/users/haven1433/received_events","type":"User","site_admin":false},"body":"* support for generic constraints\r\n* move source into src directory\r\n* move generated files into artifacts directory\r\n* add .editorconfig file and make all the formatting consistent","created_at":"2018-10-14T01:54:49Z","updated_at":"2018-10-19T00:04:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c719f2b865e4c3e7fd01af95569aab7e3f83502a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"rtzoeller","id":573497,"node_id":"MDQ6VXNlcjU3MzQ5Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/573497?v=4","gravatar_id":"","url":"https://api.github.com/users/rtzoeller","html_url":"https://github.com/rtzoeller","followers_url":"https://api.github.com/users/rtzoeller/followers","following_url":"https://api.github.com/users/rtzoeller/following{/other_user}","gists_url":"https://api.github.com/users/rtzoeller/gists{/gist_id}","starred_url":"https://api.github.com/users/rtzoeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtzoeller/subscriptions","organizations_url":"https://api.github.com/users/rtzoeller/orgs","repos_url":"https://api.github.com/users/rtzoeller/repos","events_url":"https://api.github.com/users/rtzoeller/events{/privacy}","received_events_url":"https://api.github.com/users/rtzoeller/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/haven1433/autoimplement/pulls/5/commits","review_comments_url":"https://api.github.com/repos/haven1433/autoimplement/pulls/5/comments","review_comment_url":"https://api.github.com/repos/haven1433/autoimplement/pulls/comments{/number}","comments_url":"https://api.github.com/repos/haven1433/autoimplement/issues/5/comments","statuses_url":"https://api.github.com/repos/haven1433/autoimplement/statuses/09b1e9e7765449a93907409355e83129a3956a23","head":{"label":"haven1433:haven1433-dev","ref":"haven1433-dev","sha":"09b1e9e7765449a93907409355e83129a3956a23","user":{"login":"haven1433","id":10834600,"node_id":"MDQ6VXNlcjEwODM0NjAw","avatar_url":"https://avatars2.githubusercontent.com/u/10834600?v=4","gravatar_id":"","url":"https://api.github.com/users/haven1433","html_url":"https://github.com/haven1433","followers_url":"https://api.github.com/users/haven1433/followers","following_url":"https://api.github.com/users/haven1433/following{/other_user}","gists_url":"https://api.github.com/users/haven1433/gists{/gist_id}","starred_url":"https://api.github.com/users/haven1433/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haven1433/subscriptions","organizations_url":"https://api.github.com/users/haven1433/orgs","repos_url":"https://api.github.com/users/haven1433/repos","events_url":"https://api.github.com/users/haven1433/events{/privacy}","received_events_url":"https://api.github.com/users/haven1433/received_events","type":"User","site_admin":false},"repo":{"id":144582362,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ1ODIzNjI=","name":"autoimplement","full_name":"haven1433/autoimplement","private":false,"owner":{"login":"haven1433","id":10834600,"node_id":"MDQ6VXNlcjEwODM0NjAw","avatar_url":"https://avatars2.githubusercontent.com/u/10834600?v=4","gravatar_id":"","url":"https://api.github.com/users/haven1433","html_url":"https://github.com/haven1433","followers_url":"https://api.github.com/users/haven1433/followers","following_url":"https://api.github.com/users/haven1433/following{/other_user}","gists_url":"https://api.github.com/users/haven1433/gists{/gist_id}","starred_url":"https://api.github.com/users/haven1433/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haven1433/subscriptions","organizations_url":"https://api.github.com/users/haven1433/orgs","repos_url":"https://api.github.com/users/haven1433/repos","events_url":"https://api.github.com/users/haven1433/events{/privacy}","received_events_url":"https://api.github.com/users/haven1433/received_events","type":"User","site_admin":false},"html_url":"https://github.com/haven1433/autoimplement","description":"Provide automatic implementations for .net interfaces following boilerplate design patterns","fork":false,"url":"https://api.github.com/repos/haven1433/autoimplement","forks_url":"https://api.github.com/repos/haven1433/autoimplement/forks","keys_url":"https://api.github.com/repos/haven1433/autoimplement/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haven1433/autoimplement/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haven1433/autoimplement/teams","hooks_url":"https://api.github.com/repos/haven1433/autoimplement/hooks","issue_events_url":"https://api.github.com/repos/haven1433/autoimplement/issues/events{/number}","events_url":"https://api.github.com/repos/haven1433/autoimplement/events","assignees_url":"https://api.github.com/repos/haven1433/autoimplement/assignees{/user}","branches_url":"https://api.github.com/repos/haven1433/autoimplement/branches{/branch}","tags_url":"https://api.github.com/repos/haven1433/autoimplement/tags","blobs_url":"https://api.github.com/repos/haven1433/autoimplement/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haven1433/autoimplement/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haven1433/autoimplement/git/refs{/sha}","trees_url":"https://api.github.com/repos/haven1433/autoimplement/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haven1433/autoimplement/statuses/{sha}","languages_url":"https://api.github.com/repos/haven1433/autoimplement/languages","stargazers_url":"https://api.github.com/repos/haven1433/autoimplement/stargazers","contributors_url":"https://api.github.com/repos/haven1433/autoimplement/contributors","subscribers_url":"https://api.github.com/repos/haven1433/autoimplement/subscribers","subscription_url":"https://api.github.com/repos/haven1433/autoimplement/subscription","commits_url":"https://api.github.com/repos/haven1433/autoimplement/commits{/sha}","git_commits_url":"https://api.github.com/repos/haven1433/autoimplement/git/commits{/sha}","comments_url":"https://api.github.com/repos/haven1433/autoimplement/comments{/number}","issue_comment_url":"https://api.github.com/repos/haven1433/autoimplement/issues/comments{/number}","contents_url":"https://api.github.com/repos/haven1433/autoimplement/contents/{+path}","compare_url":"https://api.github.com/repos/haven1433/autoimplement/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haven1433/autoimplement/merges","archive_url":"https://api.github.com/repos/haven1433/autoimplement/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haven1433/autoimplement/downloads","issues_url":"https://api.github.com/repos/haven1433/autoimplement/issues{/number}","pulls_url":"https://api.github.com/repos/haven1433/autoimplement/pulls{/number}","milestones_url":"https://api.github.com/repos/haven1433/autoimplement/milestones{/number}","notifications_url":"https://api.github.com/repos/haven1433/autoimplement/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haven1433/autoimplement/labels{/name}","releases_url":"https://api.github.com/repos/haven1433/autoimplement/releases{/id}","deployments_url":"https://api.github.com/repos/haven1433/autoimplement/deployments","created_at":"2018-08-13T13:18:05Z","updated_at":"2018-10-13T04:09:52Z","pushed_at":"2018-10-14T01:54:50Z","git_url":"git://github.com/haven1433/autoimplement.git","ssh_url":"git@github.com:haven1433/autoimplement.git","clone_url":"https://github.com/haven1433/autoimplement.git","svn_url":"https://github.com/haven1433/autoimplement","homepage":null,"size":126,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"haven1433:master","ref":"master","sha":"01e9db7669144ca4116338459217e921e327ce38","user":{"login":"haven1433","id":10834600,"node_id":"MDQ6VXNlcjEwODM0NjAw","avatar_url":"https://avatars2.githubusercontent.com/u/10834600?v=4","gravatar_id":"","url":"https://api.github.com/users/haven1433","html_url":"https://github.com/haven1433","followers_url":"https://api.github.com/users/haven1433/followers","following_url":"https://api.github.com/users/haven1433/following{/other_user}","gists_url":"https://api.github.com/users/haven1433/gists{/gist_id}","starred_url":"https://api.github.com/users/haven1433/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haven1433/subscriptions","organizations_url":"https://api.github.com/users/haven1433/orgs","repos_url":"https://api.github.com/users/haven1433/repos","events_url":"https://api.github.com/users/haven1433/events{/privacy}","received_events_url":"https://api.github.com/users/haven1433/received_events","type":"User","site_admin":false},"repo":{"id":144582362,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ1ODIzNjI=","name":"autoimplement","full_name":"haven1433/autoimplement","private":false,"owner":{"login":"haven1433","id":10834600,"node_id":"MDQ6VXNlcjEwODM0NjAw","avatar_url":"https://avatars2.githubusercontent.com/u/10834600?v=4","gravatar_id":"","url":"https://api.github.com/users/haven1433","html_url":"https://github.com/haven1433","followers_url":"https://api.github.com/users/haven1433/followers","following_url":"https://api.github.com/users/haven1433/following{/other_user}","gists_url":"https://api.github.com/users/haven1433/gists{/gist_id}","starred_url":"https://api.github.com/users/haven1433/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haven1433/subscriptions","organizations_url":"https://api.github.com/users/haven1433/orgs","repos_url":"https://api.github.com/users/haven1433/repos","events_url":"https://api.github.com/users/haven1433/events{/privacy}","received_events_url":"https://api.github.com/users/haven1433/received_events","type":"User","site_admin":false},"html_url":"https://github.com/haven1433/autoimplement","description":"Provide automatic implementations for .net interfaces following boilerplate design patterns","fork":false,"url":"https://api.github.com/repos/haven1433/autoimplement","forks_url":"https://api.github.com/repos/haven1433/autoimplement/forks","keys_url":"https://api.github.com/repos/haven1433/autoimplement/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haven1433/autoimplement/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haven1433/autoimplement/teams","hooks_url":"https://api.github.com/repos/haven1433/autoimplement/hooks","issue_events_url":"https://api.github.com/repos/haven1433/autoimplement/issues/events{/number}","events_url":"https://api.github.com/repos/haven1433/autoimplement/events","assignees_url":"https://api.github.com/repos/haven1433/autoimplement/assignees{/user}","branches_url":"https://api.github.com/repos/haven1433/autoimplement/branches{/branch}","tags_url":"https://api.github.com/repos/haven1433/autoimplement/tags","blobs_url":"https://api.github.com/repos/haven1433/autoimplement/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haven1433/autoimplement/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haven1433/autoimplement/git/refs{/sha}","trees_url":"https://api.github.com/repos/haven1433/autoimplement/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haven1433/autoimplement/statuses/{sha}","languages_url":"https://api.github.com/repos/haven1433/autoimplement/languages","stargazers_url":"https://api.github.com/repos/haven1433/autoimplement/stargazers","contributors_url":"https://api.github.com/repos/haven1433/autoimplement/contributors","subscribers_url":"https://api.github.com/repos/haven1433/autoimplement/subscribers","subscription_url":"https://api.github.com/repos/haven1433/autoimplement/subscription","commits_url":"https://api.github.com/repos/haven1433/autoimplement/commits{/sha}","git_commits_url":"https://api.github.com/repos/haven1433/autoimplement/git/commits{/sha}","comments_url":"https://api.github.com/repos/haven1433/autoimplement/comments{/number}","issue_comment_url":"https://api.github.com/repos/haven1433/autoimplement/issues/comments{/number}","contents_url":"https://api.github.com/repos/haven1433/autoimplement/contents/{+path}","compare_url":"https://api.github.com/repos/haven1433/autoimplement/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haven1433/autoimplement/merges","archive_url":"https://api.github.com/repos/haven1433/autoimplement/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haven1433/autoimplement/downloads","issues_url":"https://api.github.com/repos/haven1433/autoimplement/issues{/number}","pulls_url":"https://api.github.com/repos/haven1433/autoimplement/pulls{/number}","milestones_url":"https://api.github.com/repos/haven1433/autoimplement/milestones{/number}","notifications_url":"https://api.github.com/repos/haven1433/autoimplement/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haven1433/autoimplement/labels{/name}","releases_url":"https://api.github.com/repos/haven1433/autoimplement/releases{/id}","deployments_url":"https://api.github.com/repos/haven1433/autoimplement/deployments","created_at":"2018-08-13T13:18:05Z","updated_at":"2018-10-13T04:09:52Z","pushed_at":"2018-10-14T01:54:50Z","git_url":"git://github.com/haven1433/autoimplement.git","ssh_url":"git@github.com:haven1433/autoimplement.git","clone_url":"https://github.com/haven1433/autoimplement.git","svn_url":"https://github.com/haven1433/autoimplement","homepage":null,"size":126,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/haven1433/autoimplement/pulls/5"},"html":{"href":"https://github.com/haven1433/autoimplement/pull/5"},"issue":{"href":"https://api.github.com/repos/haven1433/autoimplement/issues/5"},"comments":{"href":"https://api.github.com/repos/haven1433/autoimplement/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/haven1433/autoimplement/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/haven1433/autoimplement/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/haven1433/autoimplement/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/haven1433/autoimplement/statuses/09b1e9e7765449a93907409355e83129a3956a23"}},"author_association":"OWNER"}}
{"actor":{"display_login":"mshafer1"}}