{"action":"created","comment":{"url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls/comments/79303135","id":79303135,"diff_hunk":"@@ -0,0 +1,35 @@\n+﻿using System.Collections.Concurrent;\n+using System.Collections.Generic;\n+using System.Reflection;\n+using Trace.Classes.TraceInfo;\n+\n+namespace Trace.Classes\n+{\n+    public class TraceResult\n+    {\n+        private readonly ConcurrentDictionary<int, ThreadTrace> _threadsInfo;\n+\n+        public TraceResult()\n+        {\n+            _threadsInfo = new ConcurrentDictionary<int, ThreadTrace>();\n+        }\n+\n+        public void StartListenThread(int idThread, MethodBase methodBase)\n+        {\n+            var threadInfo = _threadsInfo.GetOrAdd(idThread, new ThreadTrace());\n+            threadInfo.StartListenMethod( new MethodTrace(methodBase));\n+        }\n+\n+        public void StopListenThread(int idThread)\n+        {\n+            ThreadTrace threadInfo;\n+\n+            if (_threadsInfo.TryGetValue(idThread, out threadInfo))\n+            {\n+                threadInfo.StopListenMethod();\n+            }\n+        }\n+\n+        public IEnumerable<KeyValuePair<int, ThreadTrace>> ThreadsInfo => _threadsInfo;","path":"Tracer/Tracer/Classes/TraceResult.cs","position":33,"original_position":33,"commit_id":"a1a5194cb0d3e3df16c2e1953022167225f1b516","original_commit_id":"a1a5194cb0d3e3df16c2e1953022167225f1b516","user":{"login":"RamanBut-Husaim","id":5213282,"avatar_url":"https://avatars.githubusercontent.com/u/5213282?v=3","gravatar_id":"","url":"https://api.github.com/users/RamanBut-Husaim","html_url":"https://github.com/RamanBut-Husaim","followers_url":"https://api.github.com/users/RamanBut-Husaim/followers","following_url":"https://api.github.com/users/RamanBut-Husaim/following{/other_user}","gists_url":"https://api.github.com/users/RamanBut-Husaim/gists{/gist_id}","starred_url":"https://api.github.com/users/RamanBut-Husaim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamanBut-Husaim/subscriptions","organizations_url":"https://api.github.com/users/RamanBut-Husaim/orgs","repos_url":"https://api.github.com/users/RamanBut-Husaim/repos","events_url":"https://api.github.com/users/RamanBut-Husaim/events{/privacy}","received_events_url":"https://api.github.com/users/RamanBut-Husaim/received_events","type":"User","site_admin":false},"body":"@SilantiFross Move property declaration after the constructor declaration in the class.","created_at":"2016-09-18T10:49:28Z","updated_at":"2016-09-18T10:57:05Z","html_url":"https://github.com/RamanBut-Husaim/MPP.Tracer/pull/14#discussion_r79303135","pull_request_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls/comments/79303135"},"html":{"href":"https://github.com/RamanBut-Husaim/MPP.Tracer/pull/14#discussion_r79303135"},"pull_request":{"href":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls/14","id":85670158,"html_url":"https://github.com/RamanBut-Husaim/MPP.Tracer/pull/14","diff_url":"https://github.com/RamanBut-Husaim/MPP.Tracer/pull/14.diff","patch_url":"https://github.com/RamanBut-Husaim/MPP.Tracer/pull/14.patch","issue_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/issues/14","number":14,"state":"open","locked":false,"title":"451001-SilantiRudnitski","user":{"login":"SilantiFross","id":9060566,"avatar_url":"https://avatars.githubusercontent.com/u/9060566?v=3","gravatar_id":"","url":"https://api.github.com/users/SilantiFross","html_url":"https://github.com/SilantiFross","followers_url":"https://api.github.com/users/SilantiFross/followers","following_url":"https://api.github.com/users/SilantiFross/following{/other_user}","gists_url":"https://api.github.com/users/SilantiFross/gists{/gist_id}","starred_url":"https://api.github.com/users/SilantiFross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilantiFross/subscriptions","organizations_url":"https://api.github.com/users/SilantiFross/orgs","repos_url":"https://api.github.com/users/SilantiFross/repos","events_url":"https://api.github.com/users/SilantiFross/events{/privacy}","received_events_url":"https://api.github.com/users/SilantiFross/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-17T10:04:07Z","updated_at":"2016-09-18T10:57:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb2b20eb752040d23c01b1ceea33ab59ebc7b444","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls/14/commits","review_comments_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls/14/comments","review_comment_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/issues/14/comments","statuses_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/statuses/a1a5194cb0d3e3df16c2e1953022167225f1b516","head":{"label":"SilantiFross:master","ref":"master","sha":"a1a5194cb0d3e3df16c2e1953022167225f1b516","user":{"login":"SilantiFross","id":9060566,"avatar_url":"https://avatars.githubusercontent.com/u/9060566?v=3","gravatar_id":"","url":"https://api.github.com/users/SilantiFross","html_url":"https://github.com/SilantiFross","followers_url":"https://api.github.com/users/SilantiFross/followers","following_url":"https://api.github.com/users/SilantiFross/following{/other_user}","gists_url":"https://api.github.com/users/SilantiFross/gists{/gist_id}","starred_url":"https://api.github.com/users/SilantiFross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilantiFross/subscriptions","organizations_url":"https://api.github.com/users/SilantiFross/orgs","repos_url":"https://api.github.com/users/SilantiFross/repos","events_url":"https://api.github.com/users/SilantiFross/events{/privacy}","received_events_url":"https://api.github.com/users/SilantiFross/received_events","type":"User","site_admin":false},"repo":{"id":67476681,"name":"MPP.Tracer","full_name":"SilantiFross/MPP.Tracer","owner":{"login":"SilantiFross","id":9060566,"avatar_url":"https://avatars.githubusercontent.com/u/9060566?v=3","gravatar_id":"","url":"https://api.github.com/users/SilantiFross","html_url":"https://github.com/SilantiFross","followers_url":"https://api.github.com/users/SilantiFross/followers","following_url":"https://api.github.com/users/SilantiFross/following{/other_user}","gists_url":"https://api.github.com/users/SilantiFross/gists{/gist_id}","starred_url":"https://api.github.com/users/SilantiFross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilantiFross/subscriptions","organizations_url":"https://api.github.com/users/SilantiFross/orgs","repos_url":"https://api.github.com/users/SilantiFross/repos","events_url":"https://api.github.com/users/SilantiFross/events{/privacy}","received_events_url":"https://api.github.com/users/SilantiFross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SilantiFross/MPP.Tracer","description":"MPP.Lab01","fork":true,"url":"https://api.github.com/repos/SilantiFross/MPP.Tracer","forks_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/forks","keys_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/teams","hooks_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/hooks","issue_events_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/issues/events{/number}","events_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/events","assignees_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/assignees{/user}","branches_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/branches{/branch}","tags_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/tags","blobs_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/git/refs{/sha}","trees_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/statuses/{sha}","languages_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/languages","stargazers_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/stargazers","contributors_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/contributors","subscribers_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/subscribers","subscription_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/subscription","commits_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/commits{/sha}","git_commits_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/git/commits{/sha}","comments_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/comments{/number}","issue_comment_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/issues/comments{/number}","contents_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/contents/{+path}","compare_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/merges","archive_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/downloads","issues_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/issues{/number}","pulls_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/pulls{/number}","milestones_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/milestones{/number}","notifications_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/labels{/name}","releases_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/releases{/id}","deployments_url":"https://api.github.com/repos/SilantiFross/MPP.Tracer/deployments","created_at":"2016-09-06T05:36:58Z","updated_at":"2016-09-10T17:55:16Z","pushed_at":"2016-09-17T11:55:01Z","git_url":"git://github.com/SilantiFross/MPP.Tracer.git","ssh_url":"git@github.com:SilantiFross/MPP.Tracer.git","clone_url":"https://github.com/SilantiFross/MPP.Tracer.git","svn_url":"https://github.com/SilantiFross/MPP.Tracer","homepage":null,"size":17,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RamanBut-Husaim:451001-SilantiRudnitski","ref":"451001-SilantiRudnitski","sha":"f219cf949a01ecf6d18937927d4266922d67ee63","user":{"login":"RamanBut-Husaim","id":5213282,"avatar_url":"https://avatars.githubusercontent.com/u/5213282?v=3","gravatar_id":"","url":"https://api.github.com/users/RamanBut-Husaim","html_url":"https://github.com/RamanBut-Husaim","followers_url":"https://api.github.com/users/RamanBut-Husaim/followers","following_url":"https://api.github.com/users/RamanBut-Husaim/following{/other_user}","gists_url":"https://api.github.com/users/RamanBut-Husaim/gists{/gist_id}","starred_url":"https://api.github.com/users/RamanBut-Husaim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamanBut-Husaim/subscriptions","organizations_url":"https://api.github.com/users/RamanBut-Husaim/orgs","repos_url":"https://api.github.com/users/RamanBut-Husaim/repos","events_url":"https://api.github.com/users/RamanBut-Husaim/events{/privacy}","received_events_url":"https://api.github.com/users/RamanBut-Husaim/received_events","type":"User","site_admin":false},"repo":{"id":67446966,"name":"MPP.Tracer","full_name":"RamanBut-Husaim/MPP.Tracer","owner":{"login":"RamanBut-Husaim","id":5213282,"avatar_url":"https://avatars.githubusercontent.com/u/5213282?v=3","gravatar_id":"","url":"https://api.github.com/users/RamanBut-Husaim","html_url":"https://github.com/RamanBut-Husaim","followers_url":"https://api.github.com/users/RamanBut-Husaim/followers","following_url":"https://api.github.com/users/RamanBut-Husaim/following{/other_user}","gists_url":"https://api.github.com/users/RamanBut-Husaim/gists{/gist_id}","starred_url":"https://api.github.com/users/RamanBut-Husaim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamanBut-Husaim/subscriptions","organizations_url":"https://api.github.com/users/RamanBut-Husaim/orgs","repos_url":"https://api.github.com/users/RamanBut-Husaim/repos","events_url":"https://api.github.com/users/RamanBut-Husaim/events{/privacy}","received_events_url":"https://api.github.com/users/RamanBut-Husaim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RamanBut-Husaim/MPP.Tracer","description":"MPP.Lab01","fork":false,"url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer","forks_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/forks","keys_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/teams","hooks_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/hooks","issue_events_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/issues/events{/number}","events_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/events","assignees_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/assignees{/user}","branches_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/branches{/branch}","tags_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/tags","blobs_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/git/refs{/sha}","trees_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/statuses/{sha}","languages_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/languages","stargazers_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/stargazers","contributors_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/contributors","subscribers_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/subscribers","subscription_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/subscription","commits_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/commits{/sha}","git_commits_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/git/commits{/sha}","comments_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/comments{/number}","issue_comment_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/issues/comments{/number}","contents_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/contents/{+path}","compare_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/merges","archive_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/downloads","issues_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/issues{/number}","pulls_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls{/number}","milestones_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/milestones{/number}","notifications_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/labels{/name}","releases_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/releases{/id}","deployments_url":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/deployments","created_at":"2016-09-05T19:48:50Z","updated_at":"2016-09-05T19:50:26Z","pushed_at":"2016-09-18T10:43:53Z","git_url":"git://github.com/RamanBut-Husaim/MPP.Tracer.git","ssh_url":"git@github.com:RamanBut-Husaim/MPP.Tracer.git","clone_url":"https://github.com/RamanBut-Husaim/MPP.Tracer.git","svn_url":"https://github.com/RamanBut-Husaim/MPP.Tracer","homepage":null,"size":213,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":9,"forks":23,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls/14"},"html":{"href":"https://github.com/RamanBut-Husaim/MPP.Tracer/pull/14"},"issue":{"href":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/issues/14"},"comments":{"href":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/RamanBut-Husaim/MPP.Tracer/statuses/a1a5194cb0d3e3df16c2e1953022167225f1b516"}}}}
{"actor":{"display_login":"RamanBut-Husaim"}}