{"action":"created","comment":{"url":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls/comments/186453259","pull_request_review_id":118033064,"id":186453259,"diff_hunk":"@@ -0,0 +1,52 @@\n+﻿using System;\n+using System.Runtime.Serialization;\n+using System.Threading;\n+\n+namespace edu.homework2\n+{\n+    /// <summary>\n+    /// Second custom exception class\n+    /// </summary>\n+    class HighlightingException : Exception\n+    {\n+        public HighlightingException(string input, int pos)\n+        {\n+            Highlight(input, pos);\n+        }\n+\n+        public HighlightingException(string message) : base(message)\n+        {\n+        }\n+\n+        public HighlightingException(string message, Exception innerException) : base(message, innerException)\n+        {\n+        }\n+\n+        protected HighlightingException(SerializationInfo info, StreamingContext context) : base(info, context)\n+        {\n+        }\n+\n+        /// <summary>\n+        /// Highlights alphabetic symbols in input string\n+        /// </summary>\n+        /// <param name=\"input\"></param>\n+        /// <param name=\"pos\"></param>\n+        private void Highlight(string input, int pos)\n+        {\n+            Console.Write(\"Incorrect input. Retricted symbol is highlited: \");\n+            Console.ForegroundColor = ConsoleColor.White;\n+            for (int i = 0; i < input.Length; i++)\n+            {\n+                if (i == pos)\n+                {\n+                    Console.ForegroundColor = ConsoleColor.Red;\n+                    Thread.Sleep(10);","path":"HighlightingException.cs","position":43,"original_position":43,"commit_id":"f0adfb7270bdf60a08a1897e40c4f2fbbc665482","original_commit_id":"f0adfb7270bdf60a08a1897e40c4f2fbbc665482","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-05-07T15:10:00Z","updated_at":"2018-05-07T15:10:00Z","html_url":"https://github.com/hvdrngr/edu.homework2/pull/1#discussion_r186453259","pull_request_url":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls/comments/186453259"},"html":{"href":"https://github.com/hvdrngr/edu.homework2/pull/1#discussion_r186453259"},"pull_request":{"href":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls/1"}},"in_reply_to_id":184871989},"pull_request":{"url":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls/1","id":180132519,"html_url":"https://github.com/hvdrngr/edu.homework2/pull/1","diff_url":"https://github.com/hvdrngr/edu.homework2/pull/1.diff","patch_url":"https://github.com/hvdrngr/edu.homework2/pull/1.patch","issue_url":"https://api.github.com/repos/hvdrngr/edu.homework2/issues/1","number":1,"state":"open","locked":false,"title":"Incorrect approach selected. 30% of test - failed.","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":"Issues will be fixed shortly.","created_at":"2018-04-08T00:45:49Z","updated_at":"2018-05-07T15:10:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2693c07c9c77107baf994977cf79ac1ddb4c776","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls/1/commits","review_comments_url":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls/1/comments","review_comment_url":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hvdrngr/edu.homework2/issues/1/comments","statuses_url":"https://api.github.com/repos/hvdrngr/edu.homework2/statuses/f0adfb7270bdf60a08a1897e40c4f2fbbc665482","head":{"label":"hvdrngr:Test","ref":"Test","sha":"f0adfb7270bdf60a08a1897e40c4f2fbbc665482","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":128110526,"name":"edu.homework2","full_name":"hvdrngr/edu.homework2","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.homework2","description":null,"fork":false,"url":"https://api.github.com/repos/hvdrngr/edu.homework2","forks_url":"https://api.github.com/repos/hvdrngr/edu.homework2/forks","keys_url":"https://api.github.com/repos/hvdrngr/edu.homework2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hvdrngr/edu.homework2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hvdrngr/edu.homework2/teams","hooks_url":"https://api.github.com/repos/hvdrngr/edu.homework2/hooks","issue_events_url":"https://api.github.com/repos/hvdrngr/edu.homework2/issues/events{/number}","events_url":"https://api.github.com/repos/hvdrngr/edu.homework2/events","assignees_url":"https://api.github.com/repos/hvdrngr/edu.homework2/assignees{/user}","branches_url":"https://api.github.com/repos/hvdrngr/edu.homework2/branches{/branch}","tags_url":"https://api.github.com/repos/hvdrngr/edu.homework2/tags","blobs_url":"https://api.github.com/repos/hvdrngr/edu.homework2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hvdrngr/edu.homework2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hvdrngr/edu.homework2/git/refs{/sha}","trees_url":"https://api.github.com/repos/hvdrngr/edu.homework2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hvdrngr/edu.homework2/statuses/{sha}","languages_url":"https://api.github.com/repos/hvdrngr/edu.homework2/languages","stargazers_url":"https://api.github.com/repos/hvdrngr/edu.homework2/stargazers","contributors_url":"https://api.github.com/repos/hvdrngr/edu.homework2/contributors","subscribers_url":"https://api.github.com/repos/hvdrngr/edu.homework2/subscribers","subscription_url":"https://api.github.com/repos/hvdrngr/edu.homework2/subscription","commits_url":"https://api.github.com/repos/hvdrngr/edu.homework2/commits{/sha}","git_commits_url":"https://api.github.com/repos/hvdrngr/edu.homework2/git/commits{/sha}","comments_url":"https://api.github.com/repos/hvdrngr/edu.homework2/comments{/number}","issue_comment_url":"https://api.github.com/repos/hvdrngr/edu.homework2/issues/comments{/number}","contents_url":"https://api.github.com/repos/hvdrngr/edu.homework2/contents/{+path}","compare_url":"https://api.github.com/repos/hvdrngr/edu.homework2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hvdrngr/edu.homework2/merges","archive_url":"https://api.github.com/repos/hvdrngr/edu.homework2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hvdrngr/edu.homework2/downloads","issues_url":"https://api.github.com/repos/hvdrngr/edu.homework2/issues{/number}","pulls_url":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls{/number}","milestones_url":"https://api.github.com/repos/hvdrngr/edu.homework2/milestones{/number}","notifications_url":"https://api.github.com/repos/hvdrngr/edu.homework2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hvdrngr/edu.homework2/labels{/name}","releases_url":"https://api.github.com/repos/hvdrngr/edu.homework2/releases{/id}","deployments_url":"https://api.github.com/repos/hvdrngr/edu.homework2/deployments","created_at":"2018-04-04T19:23:38Z","updated_at":"2018-04-04T19:23:41Z","pushed_at":"2018-04-26T21:13:20Z","git_url":"git://github.com/hvdrngr/edu.homework2.git","ssh_url":"git@github.com:hvdrngr/edu.homework2.git","clone_url":"https://github.com/hvdrngr/edu.homework2.git","svn_url":"https://github.com/hvdrngr/edu.homework2","homepage":null,"size":31,"stargazers_count":0,"watchers_count":0,"language":null,"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":"c111b8cc66725047db0560091945661d00cc04fb","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":128110526,"name":"edu.homework2","full_name":"hvdrngr/edu.homework2","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.homework2","description":null,"fork":false,"url":"https://api.github.com/repos/hvdrngr/edu.homework2","forks_url":"https://api.github.com/repos/hvdrngr/edu.homework2/forks","keys_url":"https://api.github.com/repos/hvdrngr/edu.homework2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hvdrngr/edu.homework2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hvdrngr/edu.homework2/teams","hooks_url":"https://api.github.com/repos/hvdrngr/edu.homework2/hooks","issue_events_url":"https://api.github.com/repos/hvdrngr/edu.homework2/issues/events{/number}","events_url":"https://api.github.com/repos/hvdrngr/edu.homework2/events","assignees_url":"https://api.github.com/repos/hvdrngr/edu.homework2/assignees{/user}","branches_url":"https://api.github.com/repos/hvdrngr/edu.homework2/branches{/branch}","tags_url":"https://api.github.com/repos/hvdrngr/edu.homework2/tags","blobs_url":"https://api.github.com/repos/hvdrngr/edu.homework2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hvdrngr/edu.homework2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hvdrngr/edu.homework2/git/refs{/sha}","trees_url":"https://api.github.com/repos/hvdrngr/edu.homework2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hvdrngr/edu.homework2/statuses/{sha}","languages_url":"https://api.github.com/repos/hvdrngr/edu.homework2/languages","stargazers_url":"https://api.github.com/repos/hvdrngr/edu.homework2/stargazers","contributors_url":"https://api.github.com/repos/hvdrngr/edu.homework2/contributors","subscribers_url":"https://api.github.com/repos/hvdrngr/edu.homework2/subscribers","subscription_url":"https://api.github.com/repos/hvdrngr/edu.homework2/subscription","commits_url":"https://api.github.com/repos/hvdrngr/edu.homework2/commits{/sha}","git_commits_url":"https://api.github.com/repos/hvdrngr/edu.homework2/git/commits{/sha}","comments_url":"https://api.github.com/repos/hvdrngr/edu.homework2/comments{/number}","issue_comment_url":"https://api.github.com/repos/hvdrngr/edu.homework2/issues/comments{/number}","contents_url":"https://api.github.com/repos/hvdrngr/edu.homework2/contents/{+path}","compare_url":"https://api.github.com/repos/hvdrngr/edu.homework2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hvdrngr/edu.homework2/merges","archive_url":"https://api.github.com/repos/hvdrngr/edu.homework2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hvdrngr/edu.homework2/downloads","issues_url":"https://api.github.com/repos/hvdrngr/edu.homework2/issues{/number}","pulls_url":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls{/number}","milestones_url":"https://api.github.com/repos/hvdrngr/edu.homework2/milestones{/number}","notifications_url":"https://api.github.com/repos/hvdrngr/edu.homework2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hvdrngr/edu.homework2/labels{/name}","releases_url":"https://api.github.com/repos/hvdrngr/edu.homework2/releases{/id}","deployments_url":"https://api.github.com/repos/hvdrngr/edu.homework2/deployments","created_at":"2018-04-04T19:23:38Z","updated_at":"2018-04-04T19:23:41Z","pushed_at":"2018-04-26T21:13:20Z","git_url":"git://github.com/hvdrngr/edu.homework2.git","ssh_url":"git@github.com:hvdrngr/edu.homework2.git","clone_url":"https://github.com/hvdrngr/edu.homework2.git","svn_url":"https://github.com/hvdrngr/edu.homework2","homepage":null,"size":31,"stargazers_count":0,"watchers_count":0,"language":null,"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.homework2/pulls/1"},"html":{"href":"https://github.com/hvdrngr/edu.homework2/pull/1"},"issue":{"href":"https://api.github.com/repos/hvdrngr/edu.homework2/issues/1"},"comments":{"href":"https://api.github.com/repos/hvdrngr/edu.homework2/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hvdrngr/edu.homework2/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/hvdrngr/edu.homework2/statuses/f0adfb7270bdf60a08a1897e40c4f2fbbc665482"}},"author_association":"OWNER"}}
{"actor":{"display_login":"hvdrngr"}}