{"action":"created","comment":{"url":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls/comments/181571122","pull_request_review_id":112226718,"id":181571122,"diff_hunk":"@@ -1,61 +1,58 @@\n ﻿using System;\n using System.Collections.Generic;\n-using System.Linq;\n-using System.Security.Cryptography.X509Certificates;\n-using System.Text;\n using System.Threading;\n-using System.Threading.Tasks;\n \n namespace edu.homework2\n {\n     static class Program\n     {\n-        public static bool isDisplayed;\n-        public static TimeSpan timeSpan;\n-        public static List<TimeSpan> stats = new List<TimeSpan>();\n-        private static Random r = new Random();\n-        static TimeSpan t = TimeSpan.FromMilliseconds(r.Next(250,9500));\n-\n         static void Main(string[] args)\n         {\n             while (true)\n             {\n                 Console.WriteLine(\"Press ENTER when blue rectangle will appear!\");\n-                Rec();\n-                stats.Add(timeSpan);\n+                React.Rec();\n+                React.stats.Add(React.timeSpan);\n                 int i = 0;\n-                foreach (var v in stats)\n+                foreach (var v in React.stats)\n                 {\n                     i += v.Milliseconds;\n                 }\n \n-                Console.WriteLine(\"Reaction time is: {0} ms, avg: {1}\", timeSpan.Milliseconds, i/stats.Count);\n+                Console.WriteLine(\"Reaction time is: {0} ms, avg: {1}\", React.timeSpan.Milliseconds, i/ React.stats.Count);","path":"Program.cs","position":36,"original_position":36,"commit_id":"ef2eae12bf00a42a42ed289f1f235249bb38e36e","original_commit_id":"ef2eae12bf00a42a42ed289f1f235249bb38e36e","user":{"login":"ilpoli","id":4352611,"avatar_url":"https://avatars3.githubusercontent.com/u/4352611?v=4","gravatar_id":"","url":"https://api.github.com/users/ilpoli","html_url":"https://github.com/ilpoli","followers_url":"https://api.github.com/users/ilpoli/followers","following_url":"https://api.github.com/users/ilpoli/following{/other_user}","gists_url":"https://api.github.com/users/ilpoli/gists{/gist_id}","starred_url":"https://api.github.com/users/ilpoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilpoli/subscriptions","organizations_url":"https://api.github.com/users/ilpoli/orgs","repos_url":"https://api.github.com/users/ilpoli/repos","events_url":"https://api.github.com/users/ilpoli/events{/privacy}","received_events_url":"https://api.github.com/users/ilpoli/received_events","type":"User","site_admin":false},"body":" React.timeSpan.TotalMilliseconds\r\nнапример 1.001 секунды, React.timeSpan.TotalMilliseconds = 1001, а вот React.timeSpan.Milliseconds = 1","created_at":"2018-04-15T06:00:26Z","updated_at":"2018-04-15T06:01:24Z","html_url":"https://github.com/hvdrngr/edu.homework3/pull/1#discussion_r181571122","pull_request_url":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls/comments/181571122"},"html":{"href":"https://github.com/hvdrngr/edu.homework3/pull/1#discussion_r181571122"},"pull_request":{"href":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls/1","id":180755890,"html_url":"https://github.com/hvdrngr/edu.homework3/pull/1","diff_url":"https://github.com/hvdrngr/edu.homework3/pull/1.diff","patch_url":"https://github.com/hvdrngr/edu.homework3/pull/1.patch","issue_url":"https://api.github.com/repos/hvdrngr/edu.homework3/issues/1","number":1,"state":"open","locked":false,"title":"Unused directives removed.","user":{"login":"hvdrngr","id":24320806,"avatar_url":"https://avatars3.githubusercontent.com/u/24320806?v=4","gravatar_id":"","url":"https://api.github.com/users/hvdrngr","html_url":"https://github.com/hvdrngr","followers_url":"https://api.github.com/users/hvdrngr/followers","following_url":"https://api.github.com/users/hvdrngr/following{/other_user}","gists_url":"https://api.github.com/users/hvdrngr/gists{/gist_id}","starred_url":"https://api.github.com/users/hvdrngr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvdrngr/subscriptions","organizations_url":"https://api.github.com/users/hvdrngr/orgs","repos_url":"https://api.github.com/users/hvdrngr/repos","events_url":"https://api.github.com/users/hvdrngr/events{/privacy}","received_events_url":"https://api.github.com/users/hvdrngr/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-10T23:40:44Z","updated_at":"2018-04-15T06:01:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b2c533728b2c32657cac744ec75431b9152f983f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls/1/commits","review_comments_url":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls/1/comments","review_comment_url":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hvdrngr/edu.homework3/issues/1/comments","statuses_url":"https://api.github.com/repos/hvdrngr/edu.homework3/statuses/ef2eae12bf00a42a42ed289f1f235249bb38e36e","head":{"label":"hvdrngr:test","ref":"test","sha":"ef2eae12bf00a42a42ed289f1f235249bb38e36e","user":{"login":"hvdrngr","id":24320806,"avatar_url":"https://avatars3.githubusercontent.com/u/24320806?v=4","gravatar_id":"","url":"https://api.github.com/users/hvdrngr","html_url":"https://github.com/hvdrngr","followers_url":"https://api.github.com/users/hvdrngr/followers","following_url":"https://api.github.com/users/hvdrngr/following{/other_user}","gists_url":"https://api.github.com/users/hvdrngr/gists{/gist_id}","starred_url":"https://api.github.com/users/hvdrngr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvdrngr/subscriptions","organizations_url":"https://api.github.com/users/hvdrngr/orgs","repos_url":"https://api.github.com/users/hvdrngr/repos","events_url":"https://api.github.com/users/hvdrngr/events{/privacy}","received_events_url":"https://api.github.com/users/hvdrngr/received_events","type":"User","site_admin":false},"repo":{"id":129006549,"name":"edu.homework3","full_name":"hvdrngr/edu.homework3","owner":{"login":"hvdrngr","id":24320806,"avatar_url":"https://avatars3.githubusercontent.com/u/24320806?v=4","gravatar_id":"","url":"https://api.github.com/users/hvdrngr","html_url":"https://github.com/hvdrngr","followers_url":"https://api.github.com/users/hvdrngr/followers","following_url":"https://api.github.com/users/hvdrngr/following{/other_user}","gists_url":"https://api.github.com/users/hvdrngr/gists{/gist_id}","starred_url":"https://api.github.com/users/hvdrngr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvdrngr/subscriptions","organizations_url":"https://api.github.com/users/hvdrngr/orgs","repos_url":"https://api.github.com/users/hvdrngr/repos","events_url":"https://api.github.com/users/hvdrngr/events{/privacy}","received_events_url":"https://api.github.com/users/hvdrngr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hvdrngr/edu.homework3","description":null,"fork":false,"url":"https://api.github.com/repos/hvdrngr/edu.homework3","forks_url":"https://api.github.com/repos/hvdrngr/edu.homework3/forks","keys_url":"https://api.github.com/repos/hvdrngr/edu.homework3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hvdrngr/edu.homework3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hvdrngr/edu.homework3/teams","hooks_url":"https://api.github.com/repos/hvdrngr/edu.homework3/hooks","issue_events_url":"https://api.github.com/repos/hvdrngr/edu.homework3/issues/events{/number}","events_url":"https://api.github.com/repos/hvdrngr/edu.homework3/events","assignees_url":"https://api.github.com/repos/hvdrngr/edu.homework3/assignees{/user}","branches_url":"https://api.github.com/repos/hvdrngr/edu.homework3/branches{/branch}","tags_url":"https://api.github.com/repos/hvdrngr/edu.homework3/tags","blobs_url":"https://api.github.com/repos/hvdrngr/edu.homework3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hvdrngr/edu.homework3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hvdrngr/edu.homework3/git/refs{/sha}","trees_url":"https://api.github.com/repos/hvdrngr/edu.homework3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hvdrngr/edu.homework3/statuses/{sha}","languages_url":"https://api.github.com/repos/hvdrngr/edu.homework3/languages","stargazers_url":"https://api.github.com/repos/hvdrngr/edu.homework3/stargazers","contributors_url":"https://api.github.com/repos/hvdrngr/edu.homework3/contributors","subscribers_url":"https://api.github.com/repos/hvdrngr/edu.homework3/subscribers","subscription_url":"https://api.github.com/repos/hvdrngr/edu.homework3/subscription","commits_url":"https://api.github.com/repos/hvdrngr/edu.homework3/commits{/sha}","git_commits_url":"https://api.github.com/repos/hvdrngr/edu.homework3/git/commits{/sha}","comments_url":"https://api.github.com/repos/hvdrngr/edu.homework3/comments{/number}","issue_comment_url":"https://api.github.com/repos/hvdrngr/edu.homework3/issues/comments{/number}","contents_url":"https://api.github.com/repos/hvdrngr/edu.homework3/contents/{+path}","compare_url":"https://api.github.com/repos/hvdrngr/edu.homework3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hvdrngr/edu.homework3/merges","archive_url":"https://api.github.com/repos/hvdrngr/edu.homework3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hvdrngr/edu.homework3/downloads","issues_url":"https://api.github.com/repos/hvdrngr/edu.homework3/issues{/number}","pulls_url":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls{/number}","milestones_url":"https://api.github.com/repos/hvdrngr/edu.homework3/milestones{/number}","notifications_url":"https://api.github.com/repos/hvdrngr/edu.homework3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hvdrngr/edu.homework3/labels{/name}","releases_url":"https://api.github.com/repos/hvdrngr/edu.homework3/releases{/id}","deployments_url":"https://api.github.com/repos/hvdrngr/edu.homework3/deployments","created_at":"2018-04-10T23:28:58Z","updated_at":"2018-04-10T23:33:33Z","pushed_at":"2018-04-13T23:45:51Z","git_url":"git://github.com/hvdrngr/edu.homework3.git","ssh_url":"git@github.com:hvdrngr/edu.homework3.git","clone_url":"https://github.com/hvdrngr/edu.homework3.git","svn_url":"https://github.com/hvdrngr/edu.homework3","homepage":null,"size":8,"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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"hvdrngr:master","ref":"master","sha":"31244e2e13f06b591f7999b685a3c583b24d033a","user":{"login":"hvdrngr","id":24320806,"avatar_url":"https://avatars3.githubusercontent.com/u/24320806?v=4","gravatar_id":"","url":"https://api.github.com/users/hvdrngr","html_url":"https://github.com/hvdrngr","followers_url":"https://api.github.com/users/hvdrngr/followers","following_url":"https://api.github.com/users/hvdrngr/following{/other_user}","gists_url":"https://api.github.com/users/hvdrngr/gists{/gist_id}","starred_url":"https://api.github.com/users/hvdrngr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvdrngr/subscriptions","organizations_url":"https://api.github.com/users/hvdrngr/orgs","repos_url":"https://api.github.com/users/hvdrngr/repos","events_url":"https://api.github.com/users/hvdrngr/events{/privacy}","received_events_url":"https://api.github.com/users/hvdrngr/received_events","type":"User","site_admin":false},"repo":{"id":129006549,"name":"edu.homework3","full_name":"hvdrngr/edu.homework3","owner":{"login":"hvdrngr","id":24320806,"avatar_url":"https://avatars3.githubusercontent.com/u/24320806?v=4","gravatar_id":"","url":"https://api.github.com/users/hvdrngr","html_url":"https://github.com/hvdrngr","followers_url":"https://api.github.com/users/hvdrngr/followers","following_url":"https://api.github.com/users/hvdrngr/following{/other_user}","gists_url":"https://api.github.com/users/hvdrngr/gists{/gist_id}","starred_url":"https://api.github.com/users/hvdrngr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvdrngr/subscriptions","organizations_url":"https://api.github.com/users/hvdrngr/orgs","repos_url":"https://api.github.com/users/hvdrngr/repos","events_url":"https://api.github.com/users/hvdrngr/events{/privacy}","received_events_url":"https://api.github.com/users/hvdrngr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hvdrngr/edu.homework3","description":null,"fork":false,"url":"https://api.github.com/repos/hvdrngr/edu.homework3","forks_url":"https://api.github.com/repos/hvdrngr/edu.homework3/forks","keys_url":"https://api.github.com/repos/hvdrngr/edu.homework3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hvdrngr/edu.homework3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hvdrngr/edu.homework3/teams","hooks_url":"https://api.github.com/repos/hvdrngr/edu.homework3/hooks","issue_events_url":"https://api.github.com/repos/hvdrngr/edu.homework3/issues/events{/number}","events_url":"https://api.github.com/repos/hvdrngr/edu.homework3/events","assignees_url":"https://api.github.com/repos/hvdrngr/edu.homework3/assignees{/user}","branches_url":"https://api.github.com/repos/hvdrngr/edu.homework3/branches{/branch}","tags_url":"https://api.github.com/repos/hvdrngr/edu.homework3/tags","blobs_url":"https://api.github.com/repos/hvdrngr/edu.homework3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hvdrngr/edu.homework3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hvdrngr/edu.homework3/git/refs{/sha}","trees_url":"https://api.github.com/repos/hvdrngr/edu.homework3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hvdrngr/edu.homework3/statuses/{sha}","languages_url":"https://api.github.com/repos/hvdrngr/edu.homework3/languages","stargazers_url":"https://api.github.com/repos/hvdrngr/edu.homework3/stargazers","contributors_url":"https://api.github.com/repos/hvdrngr/edu.homework3/contributors","subscribers_url":"https://api.github.com/repos/hvdrngr/edu.homework3/subscribers","subscription_url":"https://api.github.com/repos/hvdrngr/edu.homework3/subscription","commits_url":"https://api.github.com/repos/hvdrngr/edu.homework3/commits{/sha}","git_commits_url":"https://api.github.com/repos/hvdrngr/edu.homework3/git/commits{/sha}","comments_url":"https://api.github.com/repos/hvdrngr/edu.homework3/comments{/number}","issue_comment_url":"https://api.github.com/repos/hvdrngr/edu.homework3/issues/comments{/number}","contents_url":"https://api.github.com/repos/hvdrngr/edu.homework3/contents/{+path}","compare_url":"https://api.github.com/repos/hvdrngr/edu.homework3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hvdrngr/edu.homework3/merges","archive_url":"https://api.github.com/repos/hvdrngr/edu.homework3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hvdrngr/edu.homework3/downloads","issues_url":"https://api.github.com/repos/hvdrngr/edu.homework3/issues{/number}","pulls_url":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls{/number}","milestones_url":"https://api.github.com/repos/hvdrngr/edu.homework3/milestones{/number}","notifications_url":"https://api.github.com/repos/hvdrngr/edu.homework3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hvdrngr/edu.homework3/labels{/name}","releases_url":"https://api.github.com/repos/hvdrngr/edu.homework3/releases{/id}","deployments_url":"https://api.github.com/repos/hvdrngr/edu.homework3/deployments","created_at":"2018-04-10T23:28:58Z","updated_at":"2018-04-10T23:33:33Z","pushed_at":"2018-04-13T23:45:51Z","git_url":"git://github.com/hvdrngr/edu.homework3.git","ssh_url":"git@github.com:hvdrngr/edu.homework3.git","clone_url":"https://github.com/hvdrngr/edu.homework3.git","svn_url":"https://github.com/hvdrngr/edu.homework3","homepage":null,"size":8,"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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls/1"},"html":{"href":"https://github.com/hvdrngr/edu.homework3/pull/1"},"issue":{"href":"https://api.github.com/repos/hvdrngr/edu.homework3/issues/1"},"comments":{"href":"https://api.github.com/repos/hvdrngr/edu.homework3/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hvdrngr/edu.homework3/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/hvdrngr/edu.homework3/statuses/ef2eae12bf00a42a42ed289f1f235249bb38e36e"}},"author_association":"OWNER"}}
{"actor":{"display_login":"ilpoli"}}