{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/dotnet/samples/pulls/37","id":185717299,"html_url":"https://github.com/dotnet/samples/pull/37","diff_url":"https://github.com/dotnet/samples/pull/37.diff","patch_url":"https://github.com/dotnet/samples/pull/37.patch","issue_url":"https://api.github.com/repos/dotnet/samples/issues/37","number":37,"state":"closed","locked":false,"title":"Fixed sample and made it easier to understand","user":{"login":"leoste","id":35530198,"avatar_url":"https://avatars2.githubusercontent.com/u/35530198?v=4","gravatar_id":"","url":"https://api.github.com/users/leoste","html_url":"https://github.com/leoste","followers_url":"https://api.github.com/users/leoste/followers","following_url":"https://api.github.com/users/leoste/following{/other_user}","gists_url":"https://api.github.com/users/leoste/gists{/gist_id}","starred_url":"https://api.github.com/users/leoste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoste/subscriptions","organizations_url":"https://api.github.com/users/leoste/orgs","repos_url":"https://api.github.com/users/leoste/repos","events_url":"https://api.github.com/users/leoste/events{/privacy}","received_events_url":"https://api.github.com/users/leoste/received_events","type":"User","site_admin":false},"body":"## Summary\r\n\r\nremoved unused variable declaration, removed unnecessary try/catch, added using for OpenFileDialog, substituted file stream for filename, removed unused using statements\r\n\r\nFixes dotnet/docs#Issue_Number (if available)\r\n","created_at":"2018-05-03T13:31:45Z","updated_at":"2018-05-03T15:00:47Z","closed_at":"2018-05-03T15:00:47Z","merged_at":"2018-05-03T15:00:47Z","merge_commit_sha":"a7b1dd96890ba79aba4f89e28904a123a356edc7","assignee":{"login":"leoste","id":35530198,"avatar_url":"https://avatars2.githubusercontent.com/u/35530198?v=4","gravatar_id":"","url":"https://api.github.com/users/leoste","html_url":"https://github.com/leoste","followers_url":"https://api.github.com/users/leoste/followers","following_url":"https://api.github.com/users/leoste/following{/other_user}","gists_url":"https://api.github.com/users/leoste/gists{/gist_id}","starred_url":"https://api.github.com/users/leoste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoste/subscriptions","organizations_url":"https://api.github.com/users/leoste/orgs","repos_url":"https://api.github.com/users/leoste/repos","events_url":"https://api.github.com/users/leoste/events{/privacy}","received_events_url":"https://api.github.com/users/leoste/received_events","type":"User","site_admin":false},"assignees":[{"login":"leoste","id":35530198,"avatar_url":"https://avatars2.githubusercontent.com/u/35530198?v=4","gravatar_id":"","url":"https://api.github.com/users/leoste","html_url":"https://github.com/leoste","followers_url":"https://api.github.com/users/leoste/followers","following_url":"https://api.github.com/users/leoste/following{/other_user}","gists_url":"https://api.github.com/users/leoste/gists{/gist_id}","starred_url":"https://api.github.com/users/leoste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoste/subscriptions","organizations_url":"https://api.github.com/users/leoste/orgs","repos_url":"https://api.github.com/users/leoste/repos","events_url":"https://api.github.com/users/leoste/events{/privacy}","received_events_url":"https://api.github.com/users/leoste/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":898261873,"url":"https://api.github.com/repos/dotnet/samples/labels/:sparkles:%201st-time%20docs%20contributor!","name":":sparkles: 1st-time docs contributor!","color":"fef2c0","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/samples/pulls/37/commits","review_comments_url":"https://api.github.com/repos/dotnet/samples/pulls/37/comments","review_comment_url":"https://api.github.com/repos/dotnet/samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/samples/issues/37/comments","statuses_url":"https://api.github.com/repos/dotnet/samples/statuses/b098e4f5cc44f3ec288076868b15ff691f5f208e","head":{"label":"leoste:newbranch","ref":"newbranch","sha":"b098e4f5cc44f3ec288076868b15ff691f5f208e","user":{"login":"leoste","id":35530198,"avatar_url":"https://avatars2.githubusercontent.com/u/35530198?v=4","gravatar_id":"","url":"https://api.github.com/users/leoste","html_url":"https://github.com/leoste","followers_url":"https://api.github.com/users/leoste/followers","following_url":"https://api.github.com/users/leoste/following{/other_user}","gists_url":"https://api.github.com/users/leoste/gists{/gist_id}","starred_url":"https://api.github.com/users/leoste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoste/subscriptions","organizations_url":"https://api.github.com/users/leoste/orgs","repos_url":"https://api.github.com/users/leoste/repos","events_url":"https://api.github.com/users/leoste/events{/privacy}","received_events_url":"https://api.github.com/users/leoste/received_events","type":"User","site_admin":false},"repo":{"id":131266806,"name":"samples","full_name":"leoste/samples","owner":{"login":"leoste","id":35530198,"avatar_url":"https://avatars2.githubusercontent.com/u/35530198?v=4","gravatar_id":"","url":"https://api.github.com/users/leoste","html_url":"https://github.com/leoste","followers_url":"https://api.github.com/users/leoste/followers","following_url":"https://api.github.com/users/leoste/following{/other_user}","gists_url":"https://api.github.com/users/leoste/gists{/gist_id}","starred_url":"https://api.github.com/users/leoste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoste/subscriptions","organizations_url":"https://api.github.com/users/leoste/orgs","repos_url":"https://api.github.com/users/leoste/repos","events_url":"https://api.github.com/users/leoste/events{/privacy}","received_events_url":"https://api.github.com/users/leoste/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leoste/samples","description":"Sample code and snippets used in the .NET documentation (repo under construction)","fork":true,"url":"https://api.github.com/repos/leoste/samples","forks_url":"https://api.github.com/repos/leoste/samples/forks","keys_url":"https://api.github.com/repos/leoste/samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leoste/samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leoste/samples/teams","hooks_url":"https://api.github.com/repos/leoste/samples/hooks","issue_events_url":"https://api.github.com/repos/leoste/samples/issues/events{/number}","events_url":"https://api.github.com/repos/leoste/samples/events","assignees_url":"https://api.github.com/repos/leoste/samples/assignees{/user}","branches_url":"https://api.github.com/repos/leoste/samples/branches{/branch}","tags_url":"https://api.github.com/repos/leoste/samples/tags","blobs_url":"https://api.github.com/repos/leoste/samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leoste/samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leoste/samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/leoste/samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leoste/samples/statuses/{sha}","languages_url":"https://api.github.com/repos/leoste/samples/languages","stargazers_url":"https://api.github.com/repos/leoste/samples/stargazers","contributors_url":"https://api.github.com/repos/leoste/samples/contributors","subscribers_url":"https://api.github.com/repos/leoste/samples/subscribers","subscription_url":"https://api.github.com/repos/leoste/samples/subscription","commits_url":"https://api.github.com/repos/leoste/samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/leoste/samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/leoste/samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/leoste/samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/leoste/samples/contents/{+path}","compare_url":"https://api.github.com/repos/leoste/samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leoste/samples/merges","archive_url":"https://api.github.com/repos/leoste/samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leoste/samples/downloads","issues_url":"https://api.github.com/repos/leoste/samples/issues{/number}","pulls_url":"https://api.github.com/repos/leoste/samples/pulls{/number}","milestones_url":"https://api.github.com/repos/leoste/samples/milestones{/number}","notifications_url":"https://api.github.com/repos/leoste/samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leoste/samples/labels{/name}","releases_url":"https://api.github.com/repos/leoste/samples/releases{/id}","deployments_url":"https://api.github.com/repos/leoste/samples/deployments","created_at":"2018-04-27T08:13:12Z","updated_at":"2018-04-27T08:14:51Z","pushed_at":"2018-05-03T13:25:37Z","git_url":"git://github.com/leoste/samples.git","ssh_url":"git@github.com:leoste/samples.git","clone_url":"https://github.com/leoste/samples.git","svn_url":"https://github.com/leoste/samples","homepage":"","size":57060,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"e2b99b016d92c8393e3008b8af2d2af9b00977cd","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":119571446,"name":"samples","full_name":"dotnet/samples","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/samples","description":"Sample code and snippets used in the .NET documentation (repo under construction)","fork":false,"url":"https://api.github.com/repos/dotnet/samples","forks_url":"https://api.github.com/repos/dotnet/samples/forks","keys_url":"https://api.github.com/repos/dotnet/samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/samples/teams","hooks_url":"https://api.github.com/repos/dotnet/samples/hooks","issue_events_url":"https://api.github.com/repos/dotnet/samples/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/samples/events","assignees_url":"https://api.github.com/repos/dotnet/samples/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/samples/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/samples/tags","blobs_url":"https://api.github.com/repos/dotnet/samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/samples/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/samples/languages","stargazers_url":"https://api.github.com/repos/dotnet/samples/stargazers","contributors_url":"https://api.github.com/repos/dotnet/samples/contributors","subscribers_url":"https://api.github.com/repos/dotnet/samples/subscribers","subscription_url":"https://api.github.com/repos/dotnet/samples/subscription","commits_url":"https://api.github.com/repos/dotnet/samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/samples/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/samples/merges","archive_url":"https://api.github.com/repos/dotnet/samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/samples/downloads","issues_url":"https://api.github.com/repos/dotnet/samples/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/samples/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/samples/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/samples/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/samples/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/samples/deployments","created_at":"2018-01-30T17:41:39Z","updated_at":"2018-05-03T01:15:38Z","pushed_at":"2018-05-03T15:00:47Z","git_url":"git://github.com/dotnet/samples.git","ssh_url":"git@github.com:dotnet/samples.git","clone_url":"https://github.com/dotnet/samples.git","svn_url":"https://github.com/dotnet/samples","homepage":"","size":57067,"stargazers_count":14,"watchers_count":14,"language":"C#","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":50,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":50,"open_issues":1,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/samples/pulls/37"},"html":{"href":"https://github.com/dotnet/samples/pull/37"},"issue":{"href":"https://api.github.com/repos/dotnet/samples/issues/37"},"comments":{"href":"https://api.github.com/repos/dotnet/samples/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/samples/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/samples/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/samples/statuses/b098e4f5cc44f3ec288076868b15ff691f5f208e"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"BillWagner","id":493969,"avatar_url":"https://avatars2.githubusercontent.com/u/493969?v=4","gravatar_id":"","url":"https://api.github.com/users/BillWagner","html_url":"https://github.com/BillWagner","followers_url":"https://api.github.com/users/BillWagner/followers","following_url":"https://api.github.com/users/BillWagner/following{/other_user}","gists_url":"https://api.github.com/users/BillWagner/gists{/gist_id}","starred_url":"https://api.github.com/users/BillWagner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BillWagner/subscriptions","organizations_url":"https://api.github.com/users/BillWagner/orgs","repos_url":"https://api.github.com/users/BillWagner/repos","events_url":"https://api.github.com/users/BillWagner/events{/privacy}","received_events_url":"https://api.github.com/users/BillWagner/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":23,"deletions":25,"changed_files":1}}
{"actor":{"display_login":"BillWagner"}}