{"action":"created","comment":{"url":"https://api.github.com/repos/hisubbotin/net-study/pulls/comments/154086115","pull_request_review_id":80194828,"id":154086115,"diff_hunk":"@@ -7,56 +11,132 @@ namespace BoringVector\n     /*\n         Реализуй структуру Vector - см. комментарии внутри нее.\n     */\n-\n+    /// <summary>\n+    /// Представляет вектор в двумерном пространстве.\n+    /// Задается пар парой вещественных координат <see cref=\"X\"/>, <see cref=\"Y\"/>.\n+    /// </summary>\n     internal struct Vector\n     {\n-        /*\n-            Vector задается парой вещественных координат X и Y.\n-        */\n-\n-\n-        /*\n-            На месте заглушек добавь реализацию базовых методов вектора:\n-                - квадрат длины\n-                - сумма векторов\n-                - умножение на коэффициент\n-                - скалярное произведение\n-                - векторное произведение (= площадь параллелограмма)\n-        */\n+        \n+        public double X { get; }\n+        public double Y { get; }\n+        \n+        public Vector(double x, double y)\n+        {\n+            X = x;\n+            Y = y;\n+        }\n \n+        /// <summary>\n+        /// Возвращает квадрат длины вектора.\n+        /// </summary>\n         public double SquareLength()\n         {\n-            throw new NotImplementedException();\n+            return X * X + Y * Y;\n         }\n+        \n+        /// <summary>\n+        /// Возвращает вектор, равный сумме этого вектора и вектора <see cref=\"v\"/>.","path":"exercises/04-boring-vector/BoringVector/BoringVector/Vector.cs","position":53,"original_position":53,"commit_id":"30e30cd9ae3f4b0370a4b7e881a005ca2dd799d2","original_commit_id":"30e30cd9ae3f4b0370a4b7e881a005ca2dd799d2","user":{"login":"pkuderov","id":699035,"avatar_url":"https://avatars2.githubusercontent.com/u/699035?v=4","gravatar_id":"","url":"https://api.github.com/users/pkuderov","html_url":"https://github.com/pkuderov","followers_url":"https://api.github.com/users/pkuderov/followers","following_url":"https://api.github.com/users/pkuderov/following{/other_user}","gists_url":"https://api.github.com/users/pkuderov/gists{/gist_id}","starred_url":"https://api.github.com/users/pkuderov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkuderov/subscriptions","organizations_url":"https://api.github.com/users/pkuderov/orgs","repos_url":"https://api.github.com/users/pkuderov/repos","events_url":"https://api.github.com/users/pkuderov/events{/privacy}","received_events_url":"https://api.github.com/users/pkuderov/received_events","type":"User","site_admin":false},"body":"я бы `этого` называл текущим, если честно","created_at":"2017-11-30T14:18:34Z","updated_at":"2017-11-30T14:43:38Z","html_url":"https://github.com/hisubbotin/net-study/pull/52#discussion_r154086115","pull_request_url":"https://api.github.com/repos/hisubbotin/net-study/pulls/52","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/hisubbotin/net-study/pulls/comments/154086115"},"html":{"href":"https://github.com/hisubbotin/net-study/pull/52#discussion_r154086115"},"pull_request":{"href":"https://api.github.com/repos/hisubbotin/net-study/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/hisubbotin/net-study/pulls/52","id":148011740,"html_url":"https://github.com/hisubbotin/net-study/pull/52","diff_url":"https://github.com/hisubbotin/net-study/pull/52.diff","patch_url":"https://github.com/hisubbotin/net-study/pull/52.patch","issue_url":"https://api.github.com/repos/hisubbotin/net-study/issues/52","number":52,"state":"open","locked":false,"title":"[04-boring-vector] Данковцев М. 495б","user":{"login":"max-dankow","id":5939830,"avatar_url":"https://avatars0.githubusercontent.com/u/5939830?v=4","gravatar_id":"","url":"https://api.github.com/users/max-dankow","html_url":"https://github.com/max-dankow","followers_url":"https://api.github.com/users/max-dankow/followers","following_url":"https://api.github.com/users/max-dankow/following{/other_user}","gists_url":"https://api.github.com/users/max-dankow/gists{/gist_id}","starred_url":"https://api.github.com/users/max-dankow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-dankow/subscriptions","organizations_url":"https://api.github.com/users/max-dankow/orgs","repos_url":"https://api.github.com/users/max-dankow/repos","events_url":"https://api.github.com/users/max-dankow/events{/privacy}","received_events_url":"https://api.github.com/users/max-dankow/received_events","type":"User","site_admin":false},"body":"BoringVector done\r\nBoringVector.Tests done","created_at":"2017-10-22T20:23:00Z","updated_at":"2017-11-30T14:43:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4860b131d93fa522cb6f5bbe2c06b76f88c2b86","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/hisubbotin/net-study/pulls/52/commits","review_comments_url":"https://api.github.com/repos/hisubbotin/net-study/pulls/52/comments","review_comment_url":"https://api.github.com/repos/hisubbotin/net-study/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hisubbotin/net-study/issues/52/comments","statuses_url":"https://api.github.com/repos/hisubbotin/net-study/statuses/30e30cd9ae3f4b0370a4b7e881a005ca2dd799d2","head":{"label":"max-dankow:04-boring-vector","ref":"04-boring-vector","sha":"30e30cd9ae3f4b0370a4b7e881a005ca2dd799d2","user":{"login":"max-dankow","id":5939830,"avatar_url":"https://avatars0.githubusercontent.com/u/5939830?v=4","gravatar_id":"","url":"https://api.github.com/users/max-dankow","html_url":"https://github.com/max-dankow","followers_url":"https://api.github.com/users/max-dankow/followers","following_url":"https://api.github.com/users/max-dankow/following{/other_user}","gists_url":"https://api.github.com/users/max-dankow/gists{/gist_id}","starred_url":"https://api.github.com/users/max-dankow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-dankow/subscriptions","organizations_url":"https://api.github.com/users/max-dankow/orgs","repos_url":"https://api.github.com/users/max-dankow/repos","events_url":"https://api.github.com/users/max-dankow/events{/privacy}","received_events_url":"https://api.github.com/users/max-dankow/received_events","type":"User","site_admin":false},"repo":{"id":103250727,"name":"net-study","full_name":"max-dankow/net-study","owner":{"login":"max-dankow","id":5939830,"avatar_url":"https://avatars0.githubusercontent.com/u/5939830?v=4","gravatar_id":"","url":"https://api.github.com/users/max-dankow","html_url":"https://github.com/max-dankow","followers_url":"https://api.github.com/users/max-dankow/followers","following_url":"https://api.github.com/users/max-dankow/following{/other_user}","gists_url":"https://api.github.com/users/max-dankow/gists{/gist_id}","starred_url":"https://api.github.com/users/max-dankow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-dankow/subscriptions","organizations_url":"https://api.github.com/users/max-dankow/orgs","repos_url":"https://api.github.com/users/max-dankow/repos","events_url":"https://api.github.com/users/max-dankow/events{/privacy}","received_events_url":"https://api.github.com/users/max-dankow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/max-dankow/net-study","description":null,"fork":true,"url":"https://api.github.com/repos/max-dankow/net-study","forks_url":"https://api.github.com/repos/max-dankow/net-study/forks","keys_url":"https://api.github.com/repos/max-dankow/net-study/keys{/key_id}","collaborators_url":"https://api.github.com/repos/max-dankow/net-study/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/max-dankow/net-study/teams","hooks_url":"https://api.github.com/repos/max-dankow/net-study/hooks","issue_events_url":"https://api.github.com/repos/max-dankow/net-study/issues/events{/number}","events_url":"https://api.github.com/repos/max-dankow/net-study/events","assignees_url":"https://api.github.com/repos/max-dankow/net-study/assignees{/user}","branches_url":"https://api.github.com/repos/max-dankow/net-study/branches{/branch}","tags_url":"https://api.github.com/repos/max-dankow/net-study/tags","blobs_url":"https://api.github.com/repos/max-dankow/net-study/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/max-dankow/net-study/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/max-dankow/net-study/git/refs{/sha}","trees_url":"https://api.github.com/repos/max-dankow/net-study/git/trees{/sha}","statuses_url":"https://api.github.com/repos/max-dankow/net-study/statuses/{sha}","languages_url":"https://api.github.com/repos/max-dankow/net-study/languages","stargazers_url":"https://api.github.com/repos/max-dankow/net-study/stargazers","contributors_url":"https://api.github.com/repos/max-dankow/net-study/contributors","subscribers_url":"https://api.github.com/repos/max-dankow/net-study/subscribers","subscription_url":"https://api.github.com/repos/max-dankow/net-study/subscription","commits_url":"https://api.github.com/repos/max-dankow/net-study/commits{/sha}","git_commits_url":"https://api.github.com/repos/max-dankow/net-study/git/commits{/sha}","comments_url":"https://api.github.com/repos/max-dankow/net-study/comments{/number}","issue_comment_url":"https://api.github.com/repos/max-dankow/net-study/issues/comments{/number}","contents_url":"https://api.github.com/repos/max-dankow/net-study/contents/{+path}","compare_url":"https://api.github.com/repos/max-dankow/net-study/compare/{base}...{head}","merges_url":"https://api.github.com/repos/max-dankow/net-study/merges","archive_url":"https://api.github.com/repos/max-dankow/net-study/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/max-dankow/net-study/downloads","issues_url":"https://api.github.com/repos/max-dankow/net-study/issues{/number}","pulls_url":"https://api.github.com/repos/max-dankow/net-study/pulls{/number}","milestones_url":"https://api.github.com/repos/max-dankow/net-study/milestones{/number}","notifications_url":"https://api.github.com/repos/max-dankow/net-study/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/max-dankow/net-study/labels{/name}","releases_url":"https://api.github.com/repos/max-dankow/net-study/releases{/id}","deployments_url":"https://api.github.com/repos/max-dankow/net-study/deployments","created_at":"2017-09-12T09:30:22Z","updated_at":"2017-09-12T09:30:23Z","pushed_at":"2017-11-26T19:44:20Z","git_url":"git://github.com/max-dankow/net-study.git","ssh_url":"git@github.com:max-dankow/net-study.git","clone_url":"https://github.com/max-dankow/net-study.git","svn_url":"https://github.com/max-dankow/net-study","homepage":null,"size":4065,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hisubbotin:master","ref":"master","sha":"441752d0e4f9d7b1d4bfe05d6110611e35e1daeb","user":{"login":"hisubbotin","id":31537018,"avatar_url":"https://avatars0.githubusercontent.com/u/31537018?v=4","gravatar_id":"","url":"https://api.github.com/users/hisubbotin","html_url":"https://github.com/hisubbotin","followers_url":"https://api.github.com/users/hisubbotin/followers","following_url":"https://api.github.com/users/hisubbotin/following{/other_user}","gists_url":"https://api.github.com/users/hisubbotin/gists{/gist_id}","starred_url":"https://api.github.com/users/hisubbotin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hisubbotin/subscriptions","organizations_url":"https://api.github.com/users/hisubbotin/orgs","repos_url":"https://api.github.com/users/hisubbotin/repos","events_url":"https://api.github.com/users/hisubbotin/events{/privacy}","received_events_url":"https://api.github.com/users/hisubbotin/received_events","type":"User","site_admin":false},"repo":{"id":102121525,"name":"net-study","full_name":"hisubbotin/net-study","owner":{"login":"hisubbotin","id":31537018,"avatar_url":"https://avatars0.githubusercontent.com/u/31537018?v=4","gravatar_id":"","url":"https://api.github.com/users/hisubbotin","html_url":"https://github.com/hisubbotin","followers_url":"https://api.github.com/users/hisubbotin/followers","following_url":"https://api.github.com/users/hisubbotin/following{/other_user}","gists_url":"https://api.github.com/users/hisubbotin/gists{/gist_id}","starred_url":"https://api.github.com/users/hisubbotin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hisubbotin/subscriptions","organizations_url":"https://api.github.com/users/hisubbotin/orgs","repos_url":"https://api.github.com/users/hisubbotin/repos","events_url":"https://api.github.com/users/hisubbotin/events{/privacy}","received_events_url":"https://api.github.com/users/hisubbotin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hisubbotin/net-study","description":null,"fork":false,"url":"https://api.github.com/repos/hisubbotin/net-study","forks_url":"https://api.github.com/repos/hisubbotin/net-study/forks","keys_url":"https://api.github.com/repos/hisubbotin/net-study/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hisubbotin/net-study/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hisubbotin/net-study/teams","hooks_url":"https://api.github.com/repos/hisubbotin/net-study/hooks","issue_events_url":"https://api.github.com/repos/hisubbotin/net-study/issues/events{/number}","events_url":"https://api.github.com/repos/hisubbotin/net-study/events","assignees_url":"https://api.github.com/repos/hisubbotin/net-study/assignees{/user}","branches_url":"https://api.github.com/repos/hisubbotin/net-study/branches{/branch}","tags_url":"https://api.github.com/repos/hisubbotin/net-study/tags","blobs_url":"https://api.github.com/repos/hisubbotin/net-study/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hisubbotin/net-study/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hisubbotin/net-study/git/refs{/sha}","trees_url":"https://api.github.com/repos/hisubbotin/net-study/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hisubbotin/net-study/statuses/{sha}","languages_url":"https://api.github.com/repos/hisubbotin/net-study/languages","stargazers_url":"https://api.github.com/repos/hisubbotin/net-study/stargazers","contributors_url":"https://api.github.com/repos/hisubbotin/net-study/contributors","subscribers_url":"https://api.github.com/repos/hisubbotin/net-study/subscribers","subscription_url":"https://api.github.com/repos/hisubbotin/net-study/subscription","commits_url":"https://api.github.com/repos/hisubbotin/net-study/commits{/sha}","git_commits_url":"https://api.github.com/repos/hisubbotin/net-study/git/commits{/sha}","comments_url":"https://api.github.com/repos/hisubbotin/net-study/comments{/number}","issue_comment_url":"https://api.github.com/repos/hisubbotin/net-study/issues/comments{/number}","contents_url":"https://api.github.com/repos/hisubbotin/net-study/contents/{+path}","compare_url":"https://api.github.com/repos/hisubbotin/net-study/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hisubbotin/net-study/merges","archive_url":"https://api.github.com/repos/hisubbotin/net-study/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hisubbotin/net-study/downloads","issues_url":"https://api.github.com/repos/hisubbotin/net-study/issues{/number}","pulls_url":"https://api.github.com/repos/hisubbotin/net-study/pulls{/number}","milestones_url":"https://api.github.com/repos/hisubbotin/net-study/milestones{/number}","notifications_url":"https://api.github.com/repos/hisubbotin/net-study/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hisubbotin/net-study/labels{/name}","releases_url":"https://api.github.com/repos/hisubbotin/net-study/releases{/id}","deployments_url":"https://api.github.com/repos/hisubbotin/net-study/deployments","created_at":"2017-09-01T14:31:51Z","updated_at":"2017-10-15T17:20:58Z","pushed_at":"2017-11-30T14:18:43Z","git_url":"git://github.com/hisubbotin/net-study.git","ssh_url":"git@github.com:hisubbotin/net-study.git","clone_url":"https://github.com/hisubbotin/net-study.git","svn_url":"https://github.com/hisubbotin/net-study","homepage":null,"size":4223,"stargazers_count":3,"watchers_count":3,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":48,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":28,"open_issues":48,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hisubbotin/net-study/pulls/52"},"html":{"href":"https://github.com/hisubbotin/net-study/pull/52"},"issue":{"href":"https://api.github.com/repos/hisubbotin/net-study/issues/52"},"comments":{"href":"https://api.github.com/repos/hisubbotin/net-study/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/hisubbotin/net-study/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/hisubbotin/net-study/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hisubbotin/net-study/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/hisubbotin/net-study/statuses/30e30cd9ae3f4b0370a4b7e881a005ca2dd799d2"}},"author_association":"NONE"}}
{"actor":{"display_login":"pkuderov"}}