{"action":"created","comment":{"url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls/comments/54278330","id":54278330,"diff_hunk":"@@ -46,17 +46,15 @@ public override Task OnActionExecutedAsync(HttpActionExecutedContext actionExecu\n \r\n         private Dictionary<string, string> GetRouteData(HttpActionContext actionContext)\r\n         {\r\n-            object controller;\r\n-            object action;\r\n-            actionContext.ControllerContext.RouteData.Values.TryGetValue(\"controller\", out controller);\r\n-            actionContext.ControllerContext.RouteData.Values.TryGetValue(\"action\", out action);\r\n+            var action = actionContext?.ActionDescriptor?.ActionName?.ToLower() ?? \"none\";\r\n+            var controller = actionContext?.ControllerContext?.ControllerDescriptor?.ControllerName?.ToLower() ?? \"none\";\r\n \r\n-            var ctr = string.IsNullOrEmpty(controller?.ToString())\r\n+            var ctr = string.IsNullOrEmpty(controller)\r\n                 ? \"none\"\r\n-                : controller.ToString().ToLower();\r\n-            var act = string.IsNullOrEmpty(action?.ToString())\r\n+                : controller.ToLower();\r\n+            var act = string.IsNullOrEmpty(action)\r","path":"Ve.Metrics.StatsDClient.WebApi/StatsDActionFilter.cs","position":17,"original_position":17,"commit_id":"70b781d6f27c14c24c0b238232ae89bc4a0a1414","original_commit_id":"70b781d6f27c14c24c0b238232ae89bc4a0a1414","user":{"login":"andyroyle","id":1472779,"avatar_url":"https://avatars.githubusercontent.com/u/1472779?v=3","gravatar_id":"","url":"https://api.github.com/users/andyroyle","html_url":"https://github.com/andyroyle","followers_url":"https://api.github.com/users/andyroyle/followers","following_url":"https://api.github.com/users/andyroyle/following{/other_user}","gists_url":"https://api.github.com/users/andyroyle/gists{/gist_id}","starred_url":"https://api.github.com/users/andyroyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyroyle/subscriptions","organizations_url":"https://api.github.com/users/andyroyle/orgs","repos_url":"https://api.github.com/users/andyroyle/repos","events_url":"https://api.github.com/users/andyroyle/events{/privacy}","received_events_url":"https://api.github.com/users/andyroyle/received_events","type":"User","site_admin":false},"body":"same as above","created_at":"2016-02-26T18:04:24Z","updated_at":"2016-02-26T18:04:24Z","html_url":"https://github.com/ve-interactive/ve-metrics-statsdclient-csharp/pull/3#discussion_r54278330","pull_request_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls/comments/54278330"},"html":{"href":"https://github.com/ve-interactive/ve-metrics-statsdclient-csharp/pull/3#discussion_r54278330"},"pull_request":{"href":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls/3","id":60878602,"html_url":"https://github.com/ve-interactive/ve-metrics-statsdclient-csharp/pull/3","diff_url":"https://github.com/ve-interactive/ve-metrics-statsdclient-csharp/pull/3.diff","patch_url":"https://github.com/ve-interactive/ve-metrics-statsdclient-csharp/pull/3.patch","issue_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/issues/3","number":3,"state":"open","locked":false,"title":"Changed where the action name is retrieved","user":{"login":"diegoluiz","id":557670,"avatar_url":"https://avatars.githubusercontent.com/u/557670?v=3","gravatar_id":"","url":"https://api.github.com/users/diegoluiz","html_url":"https://github.com/diegoluiz","followers_url":"https://api.github.com/users/diegoluiz/followers","following_url":"https://api.github.com/users/diegoluiz/following{/other_user}","gists_url":"https://api.github.com/users/diegoluiz/gists{/gist_id}","starred_url":"https://api.github.com/users/diegoluiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegoluiz/subscriptions","organizations_url":"https://api.github.com/users/diegoluiz/orgs","repos_url":"https://api.github.com/users/diegoluiz/repos","events_url":"https://api.github.com/users/diegoluiz/events{/privacy}","received_events_url":"https://api.github.com/users/diegoluiz/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-26T17:53:23Z","updated_at":"2016-02-26T18:04:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff82d04c400194b50a0f7fe2624f02eeb23af547","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls/3/commits","review_comments_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls/3/comments","review_comment_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/issues/3/comments","statuses_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/statuses/70b781d6f27c14c24c0b238232ae89bc4a0a1414","head":{"label":"diegoluiz:master","ref":"master","sha":"70b781d6f27c14c24c0b238232ae89bc4a0a1414","user":{"login":"diegoluiz","id":557670,"avatar_url":"https://avatars.githubusercontent.com/u/557670?v=3","gravatar_id":"","url":"https://api.github.com/users/diegoluiz","html_url":"https://github.com/diegoluiz","followers_url":"https://api.github.com/users/diegoluiz/followers","following_url":"https://api.github.com/users/diegoluiz/following{/other_user}","gists_url":"https://api.github.com/users/diegoluiz/gists{/gist_id}","starred_url":"https://api.github.com/users/diegoluiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegoluiz/subscriptions","organizations_url":"https://api.github.com/users/diegoluiz/orgs","repos_url":"https://api.github.com/users/diegoluiz/repos","events_url":"https://api.github.com/users/diegoluiz/events{/privacy}","received_events_url":"https://api.github.com/users/diegoluiz/received_events","type":"User","site_admin":false},"repo":{"id":52619743,"name":"ve-metrics-statsdclient-csharp","full_name":"diegoluiz/ve-metrics-statsdclient-csharp","owner":{"login":"diegoluiz","id":557670,"avatar_url":"https://avatars.githubusercontent.com/u/557670?v=3","gravatar_id":"","url":"https://api.github.com/users/diegoluiz","html_url":"https://github.com/diegoluiz","followers_url":"https://api.github.com/users/diegoluiz/followers","following_url":"https://api.github.com/users/diegoluiz/following{/other_user}","gists_url":"https://api.github.com/users/diegoluiz/gists{/gist_id}","starred_url":"https://api.github.com/users/diegoluiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegoluiz/subscriptions","organizations_url":"https://api.github.com/users/diegoluiz/orgs","repos_url":"https://api.github.com/users/diegoluiz/repos","events_url":"https://api.github.com/users/diegoluiz/events{/privacy}","received_events_url":"https://api.github.com/users/diegoluiz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/diegoluiz/ve-metrics-statsdclient-csharp","description":"Wrappers and utilities for VE statsd infrastructure","fork":true,"url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp","forks_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/forks","keys_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/teams","hooks_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/hooks","issue_events_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/issues/events{/number}","events_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/events","assignees_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/assignees{/user}","branches_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/branches{/branch}","tags_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/tags","blobs_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/statuses/{sha}","languages_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/languages","stargazers_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/stargazers","contributors_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/contributors","subscribers_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/subscribers","subscription_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/subscription","commits_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/contents/{+path}","compare_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/merges","archive_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/downloads","issues_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/issues{/number}","pulls_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/pulls{/number}","milestones_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/milestones{/number}","notifications_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/labels{/name}","releases_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/releases{/id}","deployments_url":"https://api.github.com/repos/diegoluiz/ve-metrics-statsdclient-csharp/deployments","created_at":"2016-02-26T17:06:44Z","updated_at":"2016-02-26T17:06:45Z","pushed_at":"2016-02-26T17:59:05Z","git_url":"git://github.com/diegoluiz/ve-metrics-statsdclient-csharp.git","ssh_url":"git@github.com:diegoluiz/ve-metrics-statsdclient-csharp.git","clone_url":"https://github.com/diegoluiz/ve-metrics-statsdclient-csharp.git","svn_url":"https://github.com/diegoluiz/ve-metrics-statsdclient-csharp","homepage":null,"size":48,"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":"ve-interactive:master","ref":"master","sha":"27a32e8667803dfa9b409a285a153689181cb0ce","user":{"login":"ve-interactive","id":2640802,"avatar_url":"https://avatars.githubusercontent.com/u/2640802?v=3","gravatar_id":"","url":"https://api.github.com/users/ve-interactive","html_url":"https://github.com/ve-interactive","followers_url":"https://api.github.com/users/ve-interactive/followers","following_url":"https://api.github.com/users/ve-interactive/following{/other_user}","gists_url":"https://api.github.com/users/ve-interactive/gists{/gist_id}","starred_url":"https://api.github.com/users/ve-interactive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ve-interactive/subscriptions","organizations_url":"https://api.github.com/users/ve-interactive/orgs","repos_url":"https://api.github.com/users/ve-interactive/repos","events_url":"https://api.github.com/users/ve-interactive/events{/privacy}","received_events_url":"https://api.github.com/users/ve-interactive/received_events","type":"Organization","site_admin":false},"repo":{"id":51510993,"name":"ve-metrics-statsdclient-csharp","full_name":"ve-interactive/ve-metrics-statsdclient-csharp","owner":{"login":"ve-interactive","id":2640802,"avatar_url":"https://avatars.githubusercontent.com/u/2640802?v=3","gravatar_id":"","url":"https://api.github.com/users/ve-interactive","html_url":"https://github.com/ve-interactive","followers_url":"https://api.github.com/users/ve-interactive/followers","following_url":"https://api.github.com/users/ve-interactive/following{/other_user}","gists_url":"https://api.github.com/users/ve-interactive/gists{/gist_id}","starred_url":"https://api.github.com/users/ve-interactive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ve-interactive/subscriptions","organizations_url":"https://api.github.com/users/ve-interactive/orgs","repos_url":"https://api.github.com/users/ve-interactive/repos","events_url":"https://api.github.com/users/ve-interactive/events{/privacy}","received_events_url":"https://api.github.com/users/ve-interactive/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ve-interactive/ve-metrics-statsdclient-csharp","description":"Wrappers and utilities for VE statsd infrastructure","fork":false,"url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp","forks_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/forks","keys_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/teams","hooks_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/hooks","issue_events_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/issues/events{/number}","events_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/events","assignees_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/assignees{/user}","branches_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/branches{/branch}","tags_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/tags","blobs_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/statuses/{sha}","languages_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/languages","stargazers_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/stargazers","contributors_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/contributors","subscribers_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/subscribers","subscription_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/subscription","commits_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/contents/{+path}","compare_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/merges","archive_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/downloads","issues_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/issues{/number}","pulls_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls{/number}","milestones_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/milestones{/number}","notifications_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/labels{/name}","releases_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/releases{/id}","deployments_url":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/deployments","created_at":"2016-02-11T11:40:20Z","updated_at":"2016-02-26T17:06:42Z","pushed_at":"2016-02-26T17:59:06Z","git_url":"git://github.com/ve-interactive/ve-metrics-statsdclient-csharp.git","ssh_url":"git@github.com:ve-interactive/ve-metrics-statsdclient-csharp.git","clone_url":"https://github.com/ve-interactive/ve-metrics-statsdclient-csharp.git","svn_url":"https://github.com/ve-interactive/ve-metrics-statsdclient-csharp","homepage":null,"size":66,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls/3"},"html":{"href":"https://github.com/ve-interactive/ve-metrics-statsdclient-csharp/pull/3"},"issue":{"href":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/issues/3"},"comments":{"href":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/ve-interactive/ve-metrics-statsdclient-csharp/statuses/70b781d6f27c14c24c0b238232ae89bc4a0a1414"}}}}