{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/dotnet-docker/pulls/comments/176064609","pull_request_review_id":105699975,"id":176064609,"diff_hunk":"@@ -1,72 +1,94 @@\n using System;\n using System.Runtime.InteropServices;\n-using Utils;\n using System.IO;\n+using System.Text;\n+using Utils;\n using static System.Console;\n \n public static class Program\n {\n-  public static void Main(string[] args) \n-  {\n-        string message = \"Hello .NET Core!\";\n+    public static void Main(string[] args) \n+    {\n+          var defaultMessage = \"Hello from .NET Core!\";\n+          var bot = GetBot();\n+          var (message, withColor) = GetMessage(args);","path":"samples/dotnetapp/dotnetapp/Program.cs","position":18,"original_position":18,"commit_id":"34bde20f3b30c5efc7ef3f9d493408c175d5f69a","original_commit_id":"34bde20f3b30c5efc7ef3f9d493408c175d5f69a","user":{"login":"richlander","id":2608468,"avatar_url":"https://avatars3.githubusercontent.com/u/2608468?v=4","gravatar_id":"","url":"https://api.github.com/users/richlander","html_url":"https://github.com/richlander","followers_url":"https://api.github.com/users/richlander/followers","following_url":"https://api.github.com/users/richlander/following{/other_user}","gists_url":"https://api.github.com/users/richlander/gists{/gist_id}","starred_url":"https://api.github.com/users/richlander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richlander/subscriptions","organizations_url":"https://api.github.com/users/richlander/orgs","repos_url":"https://api.github.com/users/richlander/repos","events_url":"https://api.github.com/users/richlander/events{/privacy}","received_events_url":"https://api.github.com/users/richlander/received_events","type":"User","site_admin":false},"body":"I agree. I refactored the code and didn't rename the method. My goal was to add more functionality while keeping the implementation simple. This was the simplest approach I could find.","created_at":"2018-03-21T12:30:34Z","updated_at":"2018-03-21T12:30:34Z","html_url":"https://github.com/dotnet/dotnet-docker/pull/420#discussion_r176064609","pull_request_url":"https://api.github.com/repos/dotnet/dotnet-docker/pulls/420","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/dotnet/dotnet-docker/pulls/comments/176064609"},"html":{"href":"https://github.com/dotnet/dotnet-docker/pull/420#discussion_r176064609"},"pull_request":{"href":"https://api.github.com/repos/dotnet/dotnet-docker/pulls/420"}},"in_reply_to_id":175641001},"pull_request":{"url":"https://api.github.com/repos/dotnet/dotnet-docker/pulls/420","id":174285946,"html_url":"https://github.com/dotnet/dotnet-docker/pull/420","diff_url":"https://github.com/dotnet/dotnet-docker/pull/420.diff","patch_url":"https://github.com/dotnet/dotnet-docker/pull/420.patch","issue_url":"https://api.github.com/repos/dotnet/dotnet-docker/issues/420","number":420,"state":"open","locked":false,"title":"Add instructions for developing in a container","user":{"login":"richlander","id":2608468,"avatar_url":"https://avatars3.githubusercontent.com/u/2608468?v=4","gravatar_id":"","url":"https://api.github.com/users/richlander","html_url":"https://github.com/richlander","followers_url":"https://api.github.com/users/richlander/followers","following_url":"https://api.github.com/users/richlander/following{/other_user}","gists_url":"https://api.github.com/users/richlander/gists{/gist_id}","starred_url":"https://api.github.com/users/richlander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richlander/subscriptions","organizations_url":"https://api.github.com/users/richlander/orgs","repos_url":"https://api.github.com/users/richlander/repos","events_url":"https://api.github.com/users/richlander/events{/privacy}","received_events_url":"https://api.github.com/users/richlander/received_events","type":"User","site_admin":false},"body":"Added instructions for establishing a more dynamic container environment.","created_at":"2018-03-12T07:00:40Z","updated_at":"2018-03-21T12:30:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35987edd11f67259f7ba46e7500fc509373962d4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/dotnet-docker/pulls/420/commits","review_comments_url":"https://api.github.com/repos/dotnet/dotnet-docker/pulls/420/comments","review_comment_url":"https://api.github.com/repos/dotnet/dotnet-docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/dotnet-docker/issues/420/comments","statuses_url":"https://api.github.com/repos/dotnet/dotnet-docker/statuses/34bde20f3b30c5efc7ef3f9d493408c175d5f69a","head":{"label":"dotnet:dotnet-watch","ref":"dotnet-watch","sha":"34bde20f3b30c5efc7ef3f9d493408c175d5f69a","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":46298331,"name":"dotnet-docker","full_name":"dotnet/dotnet-docker","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/dotnet-docker","description":"This repo contains the base Docker images for working with .NET Core and the .NET Core Tools.","fork":false,"url":"https://api.github.com/repos/dotnet/dotnet-docker","forks_url":"https://api.github.com/repos/dotnet/dotnet-docker/forks","keys_url":"https://api.github.com/repos/dotnet/dotnet-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/dotnet-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/dotnet-docker/teams","hooks_url":"https://api.github.com/repos/dotnet/dotnet-docker/hooks","issue_events_url":"https://api.github.com/repos/dotnet/dotnet-docker/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/dotnet-docker/events","assignees_url":"https://api.github.com/repos/dotnet/dotnet-docker/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/dotnet-docker/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/dotnet-docker/tags","blobs_url":"https://api.github.com/repos/dotnet/dotnet-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/dotnet-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/dotnet-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/dotnet-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/dotnet-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/dotnet-docker/languages","stargazers_url":"https://api.github.com/repos/dotnet/dotnet-docker/stargazers","contributors_url":"https://api.github.com/repos/dotnet/dotnet-docker/contributors","subscribers_url":"https://api.github.com/repos/dotnet/dotnet-docker/subscribers","subscription_url":"https://api.github.com/repos/dotnet/dotnet-docker/subscription","commits_url":"https://api.github.com/repos/dotnet/dotnet-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/dotnet-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/dotnet-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/dotnet-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/dotnet-docker/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/dotnet-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/dotnet-docker/merges","archive_url":"https://api.github.com/repos/dotnet/dotnet-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/dotnet-docker/downloads","issues_url":"https://api.github.com/repos/dotnet/dotnet-docker/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/dotnet-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/dotnet-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/dotnet-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/dotnet-docker/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/dotnet-docker/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/dotnet-docker/deployments","created_at":"2015-11-16T19:51:06Z","updated_at":"2018-03-20T21:27:23Z","pushed_at":"2018-03-20T05:30:43Z","git_url":"git://github.com/dotnet/dotnet-docker.git","ssh_url":"git@github.com:dotnet/dotnet-docker.git","clone_url":"https://github.com/dotnet/dotnet-docker.git","svn_url":"https://github.com/dotnet/dotnet-docker","homepage":"https://hub.docker.com/r/microsoft/dotnet/","size":997,"stargazers_count":568,"watchers_count":568,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":160,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":160,"open_issues":25,"watchers":568,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"bc85c1f155aeb22e3b5482ac963c228d84575b7a","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":46298331,"name":"dotnet-docker","full_name":"dotnet/dotnet-docker","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/dotnet-docker","description":"This repo contains the base Docker images for working with .NET Core and the .NET Core Tools.","fork":false,"url":"https://api.github.com/repos/dotnet/dotnet-docker","forks_url":"https://api.github.com/repos/dotnet/dotnet-docker/forks","keys_url":"https://api.github.com/repos/dotnet/dotnet-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/dotnet-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/dotnet-docker/teams","hooks_url":"https://api.github.com/repos/dotnet/dotnet-docker/hooks","issue_events_url":"https://api.github.com/repos/dotnet/dotnet-docker/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/dotnet-docker/events","assignees_url":"https://api.github.com/repos/dotnet/dotnet-docker/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/dotnet-docker/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/dotnet-docker/tags","blobs_url":"https://api.github.com/repos/dotnet/dotnet-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/dotnet-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/dotnet-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/dotnet-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/dotnet-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/dotnet-docker/languages","stargazers_url":"https://api.github.com/repos/dotnet/dotnet-docker/stargazers","contributors_url":"https://api.github.com/repos/dotnet/dotnet-docker/contributors","subscribers_url":"https://api.github.com/repos/dotnet/dotnet-docker/subscribers","subscription_url":"https://api.github.com/repos/dotnet/dotnet-docker/subscription","commits_url":"https://api.github.com/repos/dotnet/dotnet-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/dotnet-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/dotnet-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/dotnet-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/dotnet-docker/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/dotnet-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/dotnet-docker/merges","archive_url":"https://api.github.com/repos/dotnet/dotnet-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/dotnet-docker/downloads","issues_url":"https://api.github.com/repos/dotnet/dotnet-docker/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/dotnet-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/dotnet-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/dotnet-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/dotnet-docker/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/dotnet-docker/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/dotnet-docker/deployments","created_at":"2015-11-16T19:51:06Z","updated_at":"2018-03-20T21:27:23Z","pushed_at":"2018-03-20T05:30:43Z","git_url":"git://github.com/dotnet/dotnet-docker.git","ssh_url":"git@github.com:dotnet/dotnet-docker.git","clone_url":"https://github.com/dotnet/dotnet-docker.git","svn_url":"https://github.com/dotnet/dotnet-docker","homepage":"https://hub.docker.com/r/microsoft/dotnet/","size":997,"stargazers_count":568,"watchers_count":568,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":160,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":160,"open_issues":25,"watchers":568,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/dotnet-docker/pulls/420"},"html":{"href":"https://github.com/dotnet/dotnet-docker/pull/420"},"issue":{"href":"https://api.github.com/repos/dotnet/dotnet-docker/issues/420"},"comments":{"href":"https://api.github.com/repos/dotnet/dotnet-docker/issues/420/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/dotnet-docker/pulls/420/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/dotnet-docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/dotnet-docker/pulls/420/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/dotnet-docker/statuses/34bde20f3b30c5efc7ef3f9d493408c175d5f69a"}},"author_association":"OWNER"}}
{"actor":{"display_login":"richlander"}}