{"action":"created","comment":{"url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls/comments/228100088","pull_request_review_id":168288494,"id":228100088,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODEwMDA4OA==","diff_hunk":"@@ -67,15 +67,17 @@ private void IfLiked(List<Song> songsToPlay)\n \n         public void ToPlay()\n         {\n+            //Console.BackgroundColor = ConsoleColor.DarkCyan\n+            var randomColorSkin = new RandomColorSkin();","path":"AudioPlayer/AudioPlayer/SongWorker.cs","position":17,"original_position":17,"commit_id":"3bbe27911a0ce967cbec6bd90673a413fc063038","original_commit_id":"3bbe27911a0ce967cbec6bd90673a413fc063038","user":{"login":"ronolya","id":42861357,"node_id":"MDQ6VXNlcjQyODYxMzU3","avatar_url":"https://avatars0.githubusercontent.com/u/42861357?v=4","gravatar_id":"","url":"https://api.github.com/users/ronolya","html_url":"https://github.com/ronolya","followers_url":"https://api.github.com/users/ronolya/followers","following_url":"https://api.github.com/users/ronolya/following{/other_user}","gists_url":"https://api.github.com/users/ronolya/gists{/gist_id}","starred_url":"https://api.github.com/users/ronolya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronolya/subscriptions","organizations_url":"https://api.github.com/users/ronolya/orgs","repos_url":"https://api.github.com/users/ronolya/repos","events_url":"https://api.github.com/users/ronolya/events{/privacy}","received_events_url":"https://api.github.com/users/ronolya/received_events","type":"User","site_admin":false},"body":" я хотела бы, чтоб твой SongWorker в конструкторе (или методе ToPlay) принимал экземпляр класса Skin. Т.е. он не должен вообще знать с какой реализацией он работает.\r\n\r\nЭто один из важных принципов ООП (который не в ходит в рамки нашего курса) и он зазывается Dependency Injection and Invertion of Control. Почитай про него, тебе будет очень полезно!","created_at":"2018-10-25T09:30:10Z","updated_at":"2018-10-25T09:30:10Z","html_url":"https://github.com/VadimZharsky/AudioPlayer/pull/2#discussion_r228100088","pull_request_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls/comments/228100088"},"html":{"href":"https://github.com/VadimZharsky/AudioPlayer/pull/2#discussion_r228100088"},"pull_request":{"href":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls/2","id":225592484,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1NTkyNDg0","html_url":"https://github.com/VadimZharsky/AudioPlayer/pull/2","diff_url":"https://github.com/VadimZharsky/AudioPlayer/pull/2.diff","patch_url":"https://github.com/VadimZharsky/AudioPlayer/pull/2.patch","issue_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/issues/2","number":2,"state":"open","locked":false,"title":"SkinsAdded","user":{"login":"VadimZharsky","id":42954157,"node_id":"MDQ6VXNlcjQyOTU0MTU3","avatar_url":"https://avatars2.githubusercontent.com/u/42954157?v=4","gravatar_id":"","url":"https://api.github.com/users/VadimZharsky","html_url":"https://github.com/VadimZharsky","followers_url":"https://api.github.com/users/VadimZharsky/followers","following_url":"https://api.github.com/users/VadimZharsky/following{/other_user}","gists_url":"https://api.github.com/users/VadimZharsky/gists{/gist_id}","starred_url":"https://api.github.com/users/VadimZharsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VadimZharsky/subscriptions","organizations_url":"https://api.github.com/users/VadimZharsky/orgs","repos_url":"https://api.github.com/users/VadimZharsky/repos","events_url":"https://api.github.com/users/VadimZharsky/events{/privacy}","received_events_url":"https://api.github.com/users/VadimZharsky/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-25T00:48:20Z","updated_at":"2018-10-25T09:30:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0040c639aa9168b6071f35bd897d0c80881ff128","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls/2/commits","review_comments_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls/2/comments","review_comment_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/issues/2/comments","statuses_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/statuses/3bbe27911a0ce967cbec6bd90673a413fc063038","head":{"label":"VadimZharsky:A2(skinAdded)","ref":"A2(skinAdded)","sha":"3bbe27911a0ce967cbec6bd90673a413fc063038","user":{"login":"VadimZharsky","id":42954157,"node_id":"MDQ6VXNlcjQyOTU0MTU3","avatar_url":"https://avatars2.githubusercontent.com/u/42954157?v=4","gravatar_id":"","url":"https://api.github.com/users/VadimZharsky","html_url":"https://github.com/VadimZharsky","followers_url":"https://api.github.com/users/VadimZharsky/followers","following_url":"https://api.github.com/users/VadimZharsky/following{/other_user}","gists_url":"https://api.github.com/users/VadimZharsky/gists{/gist_id}","starred_url":"https://api.github.com/users/VadimZharsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VadimZharsky/subscriptions","organizations_url":"https://api.github.com/users/VadimZharsky/orgs","repos_url":"https://api.github.com/users/VadimZharsky/repos","events_url":"https://api.github.com/users/VadimZharsky/events{/privacy}","received_events_url":"https://api.github.com/users/VadimZharsky/received_events","type":"User","site_admin":false},"repo":{"id":153707610,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM3MDc2MTA=","name":"AudioPlayer","full_name":"VadimZharsky/AudioPlayer","private":false,"owner":{"login":"VadimZharsky","id":42954157,"node_id":"MDQ6VXNlcjQyOTU0MTU3","avatar_url":"https://avatars2.githubusercontent.com/u/42954157?v=4","gravatar_id":"","url":"https://api.github.com/users/VadimZharsky","html_url":"https://github.com/VadimZharsky","followers_url":"https://api.github.com/users/VadimZharsky/followers","following_url":"https://api.github.com/users/VadimZharsky/following{/other_user}","gists_url":"https://api.github.com/users/VadimZharsky/gists{/gist_id}","starred_url":"https://api.github.com/users/VadimZharsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VadimZharsky/subscriptions","organizations_url":"https://api.github.com/users/VadimZharsky/orgs","repos_url":"https://api.github.com/users/VadimZharsky/repos","events_url":"https://api.github.com/users/VadimZharsky/events{/privacy}","received_events_url":"https://api.github.com/users/VadimZharsky/received_events","type":"User","site_admin":false},"html_url":"https://github.com/VadimZharsky/AudioPlayer","description":null,"fork":false,"url":"https://api.github.com/repos/VadimZharsky/AudioPlayer","forks_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/forks","keys_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/teams","hooks_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/hooks","issue_events_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/issues/events{/number}","events_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/events","assignees_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/assignees{/user}","branches_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/branches{/branch}","tags_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/tags","blobs_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/git/refs{/sha}","trees_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/statuses/{sha}","languages_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/languages","stargazers_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/stargazers","contributors_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/contributors","subscribers_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/subscribers","subscription_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/subscription","commits_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/commits{/sha}","git_commits_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/git/commits{/sha}","comments_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/comments{/number}","issue_comment_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/issues/comments{/number}","contents_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/contents/{+path}","compare_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/merges","archive_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/downloads","issues_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/issues{/number}","pulls_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls{/number}","milestones_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/milestones{/number}","notifications_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/labels{/name}","releases_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/releases{/id}","deployments_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/deployments","created_at":"2018-10-19T01:09:43Z","updated_at":"2018-10-19T13:38:51Z","pushed_at":"2018-10-25T00:48:20Z","git_url":"git://github.com/VadimZharsky/AudioPlayer.git","ssh_url":"git@github.com:VadimZharsky/AudioPlayer.git","clone_url":"https://github.com/VadimZharsky/AudioPlayer.git","svn_url":"https://github.com/VadimZharsky/AudioPlayer","homepage":null,"size":17,"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":"VadimZharsky:master","ref":"master","sha":"e0cbec397dd279d89ef7a889deefd57bfc504e3c","user":{"login":"VadimZharsky","id":42954157,"node_id":"MDQ6VXNlcjQyOTU0MTU3","avatar_url":"https://avatars2.githubusercontent.com/u/42954157?v=4","gravatar_id":"","url":"https://api.github.com/users/VadimZharsky","html_url":"https://github.com/VadimZharsky","followers_url":"https://api.github.com/users/VadimZharsky/followers","following_url":"https://api.github.com/users/VadimZharsky/following{/other_user}","gists_url":"https://api.github.com/users/VadimZharsky/gists{/gist_id}","starred_url":"https://api.github.com/users/VadimZharsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VadimZharsky/subscriptions","organizations_url":"https://api.github.com/users/VadimZharsky/orgs","repos_url":"https://api.github.com/users/VadimZharsky/repos","events_url":"https://api.github.com/users/VadimZharsky/events{/privacy}","received_events_url":"https://api.github.com/users/VadimZharsky/received_events","type":"User","site_admin":false},"repo":{"id":153707610,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM3MDc2MTA=","name":"AudioPlayer","full_name":"VadimZharsky/AudioPlayer","private":false,"owner":{"login":"VadimZharsky","id":42954157,"node_id":"MDQ6VXNlcjQyOTU0MTU3","avatar_url":"https://avatars2.githubusercontent.com/u/42954157?v=4","gravatar_id":"","url":"https://api.github.com/users/VadimZharsky","html_url":"https://github.com/VadimZharsky","followers_url":"https://api.github.com/users/VadimZharsky/followers","following_url":"https://api.github.com/users/VadimZharsky/following{/other_user}","gists_url":"https://api.github.com/users/VadimZharsky/gists{/gist_id}","starred_url":"https://api.github.com/users/VadimZharsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VadimZharsky/subscriptions","organizations_url":"https://api.github.com/users/VadimZharsky/orgs","repos_url":"https://api.github.com/users/VadimZharsky/repos","events_url":"https://api.github.com/users/VadimZharsky/events{/privacy}","received_events_url":"https://api.github.com/users/VadimZharsky/received_events","type":"User","site_admin":false},"html_url":"https://github.com/VadimZharsky/AudioPlayer","description":null,"fork":false,"url":"https://api.github.com/repos/VadimZharsky/AudioPlayer","forks_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/forks","keys_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/teams","hooks_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/hooks","issue_events_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/issues/events{/number}","events_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/events","assignees_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/assignees{/user}","branches_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/branches{/branch}","tags_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/tags","blobs_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/git/refs{/sha}","trees_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/statuses/{sha}","languages_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/languages","stargazers_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/stargazers","contributors_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/contributors","subscribers_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/subscribers","subscription_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/subscription","commits_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/commits{/sha}","git_commits_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/git/commits{/sha}","comments_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/comments{/number}","issue_comment_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/issues/comments{/number}","contents_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/contents/{+path}","compare_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/merges","archive_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/downloads","issues_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/issues{/number}","pulls_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls{/number}","milestones_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/milestones{/number}","notifications_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/labels{/name}","releases_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/releases{/id}","deployments_url":"https://api.github.com/repos/VadimZharsky/AudioPlayer/deployments","created_at":"2018-10-19T01:09:43Z","updated_at":"2018-10-19T13:38:51Z","pushed_at":"2018-10-25T00:48:20Z","git_url":"git://github.com/VadimZharsky/AudioPlayer.git","ssh_url":"git@github.com:VadimZharsky/AudioPlayer.git","clone_url":"https://github.com/VadimZharsky/AudioPlayer.git","svn_url":"https://github.com/VadimZharsky/AudioPlayer","homepage":null,"size":17,"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/VadimZharsky/AudioPlayer/pulls/2"},"html":{"href":"https://github.com/VadimZharsky/AudioPlayer/pull/2"},"issue":{"href":"https://api.github.com/repos/VadimZharsky/AudioPlayer/issues/2"},"comments":{"href":"https://api.github.com/repos/VadimZharsky/AudioPlayer/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/VadimZharsky/AudioPlayer/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/VadimZharsky/AudioPlayer/statuses/3bbe27911a0ce967cbec6bd90673a413fc063038"}},"author_association":"OWNER"}}
{"actor":{"display_login":"ronolya"}}