{"action":"created","comment":{"url":"https://api.github.com/repos/bitprim/bitprim-cs/pulls/comments/201837759","pull_request_review_id":136418281,"id":201837759,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTgzNzc1OQ==","diff_hunk":"@@ -2,67 +2,147 @@\n \n namespace Bitprim\n {\n+    /// <summary>\n+    /// Represent a result of calling an API method\n+    /// </summary>\n+    /// <typeparam name=\"TResultData\">The Result's type</typeparam>\n     public class ApiCallResult<TResultData>\n     {\n+        /// <summary>\n+        /// Status code returned by native api\n+        /// </summary>\n         public ErrorCode ErrorCode { get; set; }\n+        \n+        /// <summary>\n+        /// The result of an API Method\n+        /// </summary>\n         public TResultData Result { get; set; }\n     }\n \n-    public sealed class DisposableApiCallResult<TResultData> : IDisposable where TResultData : IDisposable\n+    /// <summary>\n+    /// Represent a disposable result of calling an API method. It's necessary to call Dispose when the result is not needed anymore\n+    /// </summary>\n+    /// <typeparam name=\"TResultData\">The Result's type</typeparam>\n+    public sealed class DisposableApiCallResult<TResultData> : ApiCallResult<TResultData>, IDisposable where TResultData : IDisposable\n     {\n-        public ErrorCode ErrorCode { get; set; }\n-        public TResultData Result { get; set; }\n-\n+        /// <summary>\n+        /// Dipose method for cleaning resources\n+        /// </summary>\n         public void Dispose()\n         {\n             Result.Dispose();\n         }\n     }\n \n+    /// <summary>\n+    /// Contains data for a block\n+    /// </summary>\n+    /// <typeparam name=\"TBlockData\">Type of the data</typeparam>","path":"bitprim/idiomatic/ApiCallResult.cs","position":43,"original_position":43,"commit_id":"0dfbd91269f22a8d0b1645b2d1a459fa1b752f0f","original_commit_id":"0dfbd91269f22a8d0b1645b2d1a459fa1b752f0f","user":{"login":"dario-ramos","id":4640062,"node_id":"MDQ6VXNlcjQ2NDAwNjI=","avatar_url":"https://avatars3.githubusercontent.com/u/4640062?v=4","gravatar_id":"","url":"https://api.github.com/users/dario-ramos","html_url":"https://github.com/dario-ramos","followers_url":"https://api.github.com/users/dario-ramos/followers","following_url":"https://api.github.com/users/dario-ramos/following{/other_user}","gists_url":"https://api.github.com/users/dario-ramos/gists{/gist_id}","starred_url":"https://api.github.com/users/dario-ramos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dario-ramos/subscriptions","organizations_url":"https://api.github.com/users/dario-ramos/orgs","repos_url":"https://api.github.com/users/dario-ramos/repos","events_url":"https://api.github.com/users/dario-ramos/events{/privacy}","received_events_url":"https://api.github.com/users/dario-ramos/received_events","type":"User","site_admin":false},"body":"Specific block data type ","created_at":"2018-07-11T21:01:22Z","updated_at":"2018-07-11T21:11:57Z","html_url":"https://github.com/bitprim/bitprim-cs/pull/121#discussion_r201837759","pull_request_url":"https://api.github.com/repos/bitprim/bitprim-cs/pulls/121","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/bitprim/bitprim-cs/pulls/comments/201837759"},"html":{"href":"https://github.com/bitprim/bitprim-cs/pull/121#discussion_r201837759"},"pull_request":{"href":"https://api.github.com/repos/bitprim/bitprim-cs/pulls/121"}}},"pull_request":{"url":"https://api.github.com/repos/bitprim/bitprim-cs/pulls/121","id":200818888,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwODE4ODg4","html_url":"https://github.com/bitprim/bitprim-cs/pull/121","diff_url":"https://github.com/bitprim/bitprim-cs/pull/121.diff","patch_url":"https://github.com/bitprim/bitprim-cs/pull/121.patch","issue_url":"https://api.github.com/repos/bitprim/bitprim-cs/issues/121","number":121,"state":"open","locked":false,"title":"Added comments, and other changes","user":{"login":"mdallago","id":2328735,"node_id":"MDQ6VXNlcjIzMjg3MzU=","avatar_url":"https://avatars2.githubusercontent.com/u/2328735?v=4","gravatar_id":"","url":"https://api.github.com/users/mdallago","html_url":"https://github.com/mdallago","followers_url":"https://api.github.com/users/mdallago/followers","following_url":"https://api.github.com/users/mdallago/following{/other_user}","gists_url":"https://api.github.com/users/mdallago/gists{/gist_id}","starred_url":"https://api.github.com/users/mdallago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdallago/subscriptions","organizations_url":"https://api.github.com/users/mdallago/orgs","repos_url":"https://api.github.com/users/mdallago/repos","events_url":"https://api.github.com/users/mdallago/events{/privacy}","received_events_url":"https://api.github.com/users/mdallago/received_events","type":"User","site_admin":false},"body":"- Improve readme\r\n- Added missing tests\r\n- Commented old code\r\n","created_at":"2018-07-11T20:38:43Z","updated_at":"2018-07-11T21:11:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"748beec60cd8efd292a67cd86e10da1eab279269","assignee":{"login":"mdallago","id":2328735,"node_id":"MDQ6VXNlcjIzMjg3MzU=","avatar_url":"https://avatars2.githubusercontent.com/u/2328735?v=4","gravatar_id":"","url":"https://api.github.com/users/mdallago","html_url":"https://github.com/mdallago","followers_url":"https://api.github.com/users/mdallago/followers","following_url":"https://api.github.com/users/mdallago/following{/other_user}","gists_url":"https://api.github.com/users/mdallago/gists{/gist_id}","starred_url":"https://api.github.com/users/mdallago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdallago/subscriptions","organizations_url":"https://api.github.com/users/mdallago/orgs","repos_url":"https://api.github.com/users/mdallago/repos","events_url":"https://api.github.com/users/mdallago/events{/privacy}","received_events_url":"https://api.github.com/users/mdallago/received_events","type":"User","site_admin":false},"assignees":[{"login":"mdallago","id":2328735,"node_id":"MDQ6VXNlcjIzMjg3MzU=","avatar_url":"https://avatars2.githubusercontent.com/u/2328735?v=4","gravatar_id":"","url":"https://api.github.com/users/mdallago","html_url":"https://github.com/mdallago","followers_url":"https://api.github.com/users/mdallago/followers","following_url":"https://api.github.com/users/mdallago/following{/other_user}","gists_url":"https://api.github.com/users/mdallago/gists{/gist_id}","starred_url":"https://api.github.com/users/mdallago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdallago/subscriptions","organizations_url":"https://api.github.com/users/mdallago/orgs","repos_url":"https://api.github.com/users/mdallago/repos","events_url":"https://api.github.com/users/mdallago/events{/privacy}","received_events_url":"https://api.github.com/users/mdallago/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"fpelliccioni","id":273683,"node_id":"MDQ6VXNlcjI3MzY4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/273683?v=4","gravatar_id":"","url":"https://api.github.com/users/fpelliccioni","html_url":"https://github.com/fpelliccioni","followers_url":"https://api.github.com/users/fpelliccioni/followers","following_url":"https://api.github.com/users/fpelliccioni/following{/other_user}","gists_url":"https://api.github.com/users/fpelliccioni/gists{/gist_id}","starred_url":"https://api.github.com/users/fpelliccioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpelliccioni/subscriptions","organizations_url":"https://api.github.com/users/fpelliccioni/orgs","repos_url":"https://api.github.com/users/fpelliccioni/repos","events_url":"https://api.github.com/users/fpelliccioni/events{/privacy}","received_events_url":"https://api.github.com/users/fpelliccioni/received_events","type":"User","site_admin":false},{"login":"hanchon","id":5675227,"node_id":"MDQ6VXNlcjU2NzUyMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/5675227?v=4","gravatar_id":"","url":"https://api.github.com/users/hanchon","html_url":"https://github.com/hanchon","followers_url":"https://api.github.com/users/hanchon/followers","following_url":"https://api.github.com/users/hanchon/following{/other_user}","gists_url":"https://api.github.com/users/hanchon/gists{/gist_id}","starred_url":"https://api.github.com/users/hanchon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanchon/subscriptions","organizations_url":"https://api.github.com/users/hanchon/orgs","repos_url":"https://api.github.com/users/hanchon/repos","events_url":"https://api.github.com/users/hanchon/events{/privacy}","received_events_url":"https://api.github.com/users/hanchon/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bitprim/bitprim-cs/pulls/121/commits","review_comments_url":"https://api.github.com/repos/bitprim/bitprim-cs/pulls/121/comments","review_comment_url":"https://api.github.com/repos/bitprim/bitprim-cs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitprim/bitprim-cs/issues/121/comments","statuses_url":"https://api.github.com/repos/bitprim/bitprim-cs/statuses/0dfbd91269f22a8d0b1645b2d1a459fa1b752f0f","head":{"label":"bitprim:feature-CS-64","ref":"feature-CS-64","sha":"0dfbd91269f22a8d0b1645b2d1a459fa1b752f0f","user":{"login":"bitprim","id":20631151,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjMxMTUx","avatar_url":"https://avatars0.githubusercontent.com/u/20631151?v=4","gravatar_id":"","url":"https://api.github.com/users/bitprim","html_url":"https://github.com/bitprim","followers_url":"https://api.github.com/users/bitprim/followers","following_url":"https://api.github.com/users/bitprim/following{/other_user}","gists_url":"https://api.github.com/users/bitprim/gists{/gist_id}","starred_url":"https://api.github.com/users/bitprim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitprim/subscriptions","organizations_url":"https://api.github.com/users/bitprim/orgs","repos_url":"https://api.github.com/users/bitprim/repos","events_url":"https://api.github.com/users/bitprim/events{/privacy}","received_events_url":"https://api.github.com/users/bitprim/received_events","type":"Organization","site_admin":false},"repo":{"id":95145297,"node_id":"MDEwOlJlcG9zaXRvcnk5NTE0NTI5Nw==","name":"bitprim-cs","full_name":"bitprim/bitprim-cs","owner":{"login":"bitprim","id":20631151,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjMxMTUx","avatar_url":"https://avatars0.githubusercontent.com/u/20631151?v=4","gravatar_id":"","url":"https://api.github.com/users/bitprim","html_url":"https://github.com/bitprim","followers_url":"https://api.github.com/users/bitprim/followers","following_url":"https://api.github.com/users/bitprim/following{/other_user}","gists_url":"https://api.github.com/users/bitprim/gists{/gist_id}","starred_url":"https://api.github.com/users/bitprim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitprim/subscriptions","organizations_url":"https://api.github.com/users/bitprim/orgs","repos_url":"https://api.github.com/users/bitprim/repos","events_url":"https://api.github.com/users/bitprim/events{/privacy}","received_events_url":"https://api.github.com/users/bitprim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitprim/bitprim-cs","description":null,"fork":false,"url":"https://api.github.com/repos/bitprim/bitprim-cs","forks_url":"https://api.github.com/repos/bitprim/bitprim-cs/forks","keys_url":"https://api.github.com/repos/bitprim/bitprim-cs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitprim/bitprim-cs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitprim/bitprim-cs/teams","hooks_url":"https://api.github.com/repos/bitprim/bitprim-cs/hooks","issue_events_url":"https://api.github.com/repos/bitprim/bitprim-cs/issues/events{/number}","events_url":"https://api.github.com/repos/bitprim/bitprim-cs/events","assignees_url":"https://api.github.com/repos/bitprim/bitprim-cs/assignees{/user}","branches_url":"https://api.github.com/repos/bitprim/bitprim-cs/branches{/branch}","tags_url":"https://api.github.com/repos/bitprim/bitprim-cs/tags","blobs_url":"https://api.github.com/repos/bitprim/bitprim-cs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitprim/bitprim-cs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitprim/bitprim-cs/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitprim/bitprim-cs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitprim/bitprim-cs/statuses/{sha}","languages_url":"https://api.github.com/repos/bitprim/bitprim-cs/languages","stargazers_url":"https://api.github.com/repos/bitprim/bitprim-cs/stargazers","contributors_url":"https://api.github.com/repos/bitprim/bitprim-cs/contributors","subscribers_url":"https://api.github.com/repos/bitprim/bitprim-cs/subscribers","subscription_url":"https://api.github.com/repos/bitprim/bitprim-cs/subscription","commits_url":"https://api.github.com/repos/bitprim/bitprim-cs/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitprim/bitprim-cs/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitprim/bitprim-cs/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitprim/bitprim-cs/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitprim/bitprim-cs/contents/{+path}","compare_url":"https://api.github.com/repos/bitprim/bitprim-cs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitprim/bitprim-cs/merges","archive_url":"https://api.github.com/repos/bitprim/bitprim-cs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitprim/bitprim-cs/downloads","issues_url":"https://api.github.com/repos/bitprim/bitprim-cs/issues{/number}","pulls_url":"https://api.github.com/repos/bitprim/bitprim-cs/pulls{/number}","milestones_url":"https://api.github.com/repos/bitprim/bitprim-cs/milestones{/number}","notifications_url":"https://api.github.com/repos/bitprim/bitprim-cs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitprim/bitprim-cs/labels{/name}","releases_url":"https://api.github.com/repos/bitprim/bitprim-cs/releases{/id}","deployments_url":"https://api.github.com/repos/bitprim/bitprim-cs/deployments","created_at":"2017-06-22T18:33:13Z","updated_at":"2018-06-25T17:00:06Z","pushed_at":"2018-07-11T20:38:43Z","git_url":"git://github.com/bitprim/bitprim-cs.git","ssh_url":"git@github.com:bitprim/bitprim-cs.git","clone_url":"https://github.com/bitprim/bitprim-cs.git","svn_url":"https://github.com/bitprim/bitprim-cs","homepage":null,"size":1482,"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":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"bitprim:dev","ref":"dev","sha":"81d2587cac0441ba9d7f014577ee0f04a2589390","user":{"login":"bitprim","id":20631151,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjMxMTUx","avatar_url":"https://avatars0.githubusercontent.com/u/20631151?v=4","gravatar_id":"","url":"https://api.github.com/users/bitprim","html_url":"https://github.com/bitprim","followers_url":"https://api.github.com/users/bitprim/followers","following_url":"https://api.github.com/users/bitprim/following{/other_user}","gists_url":"https://api.github.com/users/bitprim/gists{/gist_id}","starred_url":"https://api.github.com/users/bitprim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitprim/subscriptions","organizations_url":"https://api.github.com/users/bitprim/orgs","repos_url":"https://api.github.com/users/bitprim/repos","events_url":"https://api.github.com/users/bitprim/events{/privacy}","received_events_url":"https://api.github.com/users/bitprim/received_events","type":"Organization","site_admin":false},"repo":{"id":95145297,"node_id":"MDEwOlJlcG9zaXRvcnk5NTE0NTI5Nw==","name":"bitprim-cs","full_name":"bitprim/bitprim-cs","owner":{"login":"bitprim","id":20631151,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjMxMTUx","avatar_url":"https://avatars0.githubusercontent.com/u/20631151?v=4","gravatar_id":"","url":"https://api.github.com/users/bitprim","html_url":"https://github.com/bitprim","followers_url":"https://api.github.com/users/bitprim/followers","following_url":"https://api.github.com/users/bitprim/following{/other_user}","gists_url":"https://api.github.com/users/bitprim/gists{/gist_id}","starred_url":"https://api.github.com/users/bitprim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitprim/subscriptions","organizations_url":"https://api.github.com/users/bitprim/orgs","repos_url":"https://api.github.com/users/bitprim/repos","events_url":"https://api.github.com/users/bitprim/events{/privacy}","received_events_url":"https://api.github.com/users/bitprim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitprim/bitprim-cs","description":null,"fork":false,"url":"https://api.github.com/repos/bitprim/bitprim-cs","forks_url":"https://api.github.com/repos/bitprim/bitprim-cs/forks","keys_url":"https://api.github.com/repos/bitprim/bitprim-cs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitprim/bitprim-cs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitprim/bitprim-cs/teams","hooks_url":"https://api.github.com/repos/bitprim/bitprim-cs/hooks","issue_events_url":"https://api.github.com/repos/bitprim/bitprim-cs/issues/events{/number}","events_url":"https://api.github.com/repos/bitprim/bitprim-cs/events","assignees_url":"https://api.github.com/repos/bitprim/bitprim-cs/assignees{/user}","branches_url":"https://api.github.com/repos/bitprim/bitprim-cs/branches{/branch}","tags_url":"https://api.github.com/repos/bitprim/bitprim-cs/tags","blobs_url":"https://api.github.com/repos/bitprim/bitprim-cs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitprim/bitprim-cs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitprim/bitprim-cs/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitprim/bitprim-cs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitprim/bitprim-cs/statuses/{sha}","languages_url":"https://api.github.com/repos/bitprim/bitprim-cs/languages","stargazers_url":"https://api.github.com/repos/bitprim/bitprim-cs/stargazers","contributors_url":"https://api.github.com/repos/bitprim/bitprim-cs/contributors","subscribers_url":"https://api.github.com/repos/bitprim/bitprim-cs/subscribers","subscription_url":"https://api.github.com/repos/bitprim/bitprim-cs/subscription","commits_url":"https://api.github.com/repos/bitprim/bitprim-cs/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitprim/bitprim-cs/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitprim/bitprim-cs/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitprim/bitprim-cs/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitprim/bitprim-cs/contents/{+path}","compare_url":"https://api.github.com/repos/bitprim/bitprim-cs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitprim/bitprim-cs/merges","archive_url":"https://api.github.com/repos/bitprim/bitprim-cs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitprim/bitprim-cs/downloads","issues_url":"https://api.github.com/repos/bitprim/bitprim-cs/issues{/number}","pulls_url":"https://api.github.com/repos/bitprim/bitprim-cs/pulls{/number}","milestones_url":"https://api.github.com/repos/bitprim/bitprim-cs/milestones{/number}","notifications_url":"https://api.github.com/repos/bitprim/bitprim-cs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitprim/bitprim-cs/labels{/name}","releases_url":"https://api.github.com/repos/bitprim/bitprim-cs/releases{/id}","deployments_url":"https://api.github.com/repos/bitprim/bitprim-cs/deployments","created_at":"2017-06-22T18:33:13Z","updated_at":"2018-06-25T17:00:06Z","pushed_at":"2018-07-11T20:38:43Z","git_url":"git://github.com/bitprim/bitprim-cs.git","ssh_url":"git@github.com:bitprim/bitprim-cs.git","clone_url":"https://github.com/bitprim/bitprim-cs.git","svn_url":"https://github.com/bitprim/bitprim-cs","homepage":null,"size":1482,"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":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitprim/bitprim-cs/pulls/121"},"html":{"href":"https://github.com/bitprim/bitprim-cs/pull/121"},"issue":{"href":"https://api.github.com/repos/bitprim/bitprim-cs/issues/121"},"comments":{"href":"https://api.github.com/repos/bitprim/bitprim-cs/issues/121/comments"},"review_comments":{"href":"https://api.github.com/repos/bitprim/bitprim-cs/pulls/121/comments"},"review_comment":{"href":"https://api.github.com/repos/bitprim/bitprim-cs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitprim/bitprim-cs/pulls/121/commits"},"statuses":{"href":"https://api.github.com/repos/bitprim/bitprim-cs/statuses/0dfbd91269f22a8d0b1645b2d1a459fa1b752f0f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dario-ramos"}}