{"action":"created","comment":{"url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/comments/27451591","id":27451591,"diff_hunk":"@@ -410,8 +410,9 @@ public class Categories : EnumBase<BuiltInCategory>\n     {\n         public Categories()\n         {\n-            OutPorts[0].PortName = \"Category\";\n+            OutPortData[0].NickName = \"Category\";\n             OutPortData[0].ToolTipString = \"The selected Category.\";\n+            OutPorts[0].SetPortData(OutPortData[0]);","path":"src/Libraries/RevitNodesUI/RevitDropDown.cs","position":7,"original_position":7,"commit_id":"929a2b055ce2be8c8cdfdea5ef13839ad991b511","original_commit_id":"929a2b055ce2be8c8cdfdea5ef13839ad991b511","user":{"login":"Benglin","id":5086849,"avatar_url":"https://avatars.githubusercontent.com/u/5086849?v=3","gravatar_id":"","url":"https://api.github.com/users/Benglin","html_url":"https://github.com/Benglin","followers_url":"https://api.github.com/users/Benglin/followers","following_url":"https://api.github.com/users/Benglin/following{/other_user}","gists_url":"https://api.github.com/users/Benglin/gists{/gist_id}","starred_url":"https://api.github.com/users/Benglin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Benglin/subscriptions","organizations_url":"https://api.github.com/users/Benglin/orgs","repos_url":"https://api.github.com/users/Benglin/repos","events_url":"https://api.github.com/users/Benglin/events{/privacy}","received_events_url":"https://api.github.com/users/Benglin/received_events","type":"User","site_admin":false},"body":"Hi @ke-yu, I guess we have to move these strings to `*.resx` files?","created_at":"2015-03-31T04:01:11Z","updated_at":"2015-03-31T04:01:11Z","html_url":"https://github.com/DynamoDS/DynamoRevit/pull/312#discussion_r27451591","pull_request_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/312","_links":{"self":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/comments/27451591"},"html":{"href":"https://github.com/DynamoDS/DynamoRevit/pull/312#discussion_r27451591"},"pull_request":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/312"}}},"pull_request":{"url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/312","id":32207442,"html_url":"https://github.com/DynamoDS/DynamoRevit/pull/312","diff_url":"https://github.com/DynamoDS/DynamoRevit/pull/312.diff","patch_url":"https://github.com/DynamoDS/DynamoRevit/pull/312.patch","issue_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/312","number":312,"state":"open","locked":false,"title":"Change Category's OutputData's nickname instead of setting PortName","user":{"login":"ke-yu","id":2600379,"avatar_url":"https://avatars.githubusercontent.com/u/2600379?v=3","gravatar_id":"","url":"https://api.github.com/users/ke-yu","html_url":"https://github.com/ke-yu","followers_url":"https://api.github.com/users/ke-yu/followers","following_url":"https://api.github.com/users/ke-yu/following{/other_user}","gists_url":"https://api.github.com/users/ke-yu/gists{/gist_id}","starred_url":"https://api.github.com/users/ke-yu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ke-yu/subscriptions","organizations_url":"https://api.github.com/users/ke-yu/orgs","repos_url":"https://api.github.com/users/ke-yu/repos","events_url":"https://api.github.com/users/ke-yu/events{/privacy}","received_events_url":"https://api.github.com/users/ke-yu/received_events","type":"User","site_admin":false},"body":"In [PR #4125] (https://github.com/DynamoDS/Dynamo/pull/4125) `PortModel.PortName` is read-only. Instead of setting `PortModel.PortName` directly, here we set `PortData.NickName`.\r\n\r\n@Benglin please review the change. ","created_at":"2015-03-30T08:47:05Z","updated_at":"2015-03-31T04:01:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"154eb7e9242b7ffd04fe98613d2a2e45b4d1dc82","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/312/commits","review_comments_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/312/comments","review_comment_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/312/comments","statuses_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/statuses/929a2b055ce2be8c8cdfdea5ef13839ad991b511","head":{"label":"ke-yu:Revit2015","ref":"Revit2015","sha":"929a2b055ce2be8c8cdfdea5ef13839ad991b511","user":{"login":"ke-yu","id":2600379,"avatar_url":"https://avatars.githubusercontent.com/u/2600379?v=3","gravatar_id":"","url":"https://api.github.com/users/ke-yu","html_url":"https://github.com/ke-yu","followers_url":"https://api.github.com/users/ke-yu/followers","following_url":"https://api.github.com/users/ke-yu/following{/other_user}","gists_url":"https://api.github.com/users/ke-yu/gists{/gist_id}","starred_url":"https://api.github.com/users/ke-yu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ke-yu/subscriptions","organizations_url":"https://api.github.com/users/ke-yu/orgs","repos_url":"https://api.github.com/users/ke-yu/repos","events_url":"https://api.github.com/users/ke-yu/events{/privacy}","received_events_url":"https://api.github.com/users/ke-yu/received_events","type":"User","site_admin":false},"repo":{"id":27806916,"name":"DynamoRevit","full_name":"ke-yu/DynamoRevit","owner":{"login":"ke-yu","id":2600379,"avatar_url":"https://avatars.githubusercontent.com/u/2600379?v=3","gravatar_id":"","url":"https://api.github.com/users/ke-yu","html_url":"https://github.com/ke-yu","followers_url":"https://api.github.com/users/ke-yu/followers","following_url":"https://api.github.com/users/ke-yu/following{/other_user}","gists_url":"https://api.github.com/users/ke-yu/gists{/gist_id}","starred_url":"https://api.github.com/users/ke-yu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ke-yu/subscriptions","organizations_url":"https://api.github.com/users/ke-yu/orgs","repos_url":"https://api.github.com/users/ke-yu/repos","events_url":"https://api.github.com/users/ke-yu/events{/privacy}","received_events_url":"https://api.github.com/users/ke-yu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ke-yu/DynamoRevit","description":"Dynamo Libraries for Revit","fork":true,"url":"https://api.github.com/repos/ke-yu/DynamoRevit","forks_url":"https://api.github.com/repos/ke-yu/DynamoRevit/forks","keys_url":"https://api.github.com/repos/ke-yu/DynamoRevit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ke-yu/DynamoRevit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ke-yu/DynamoRevit/teams","hooks_url":"https://api.github.com/repos/ke-yu/DynamoRevit/hooks","issue_events_url":"https://api.github.com/repos/ke-yu/DynamoRevit/issues/events{/number}","events_url":"https://api.github.com/repos/ke-yu/DynamoRevit/events","assignees_url":"https://api.github.com/repos/ke-yu/DynamoRevit/assignees{/user}","branches_url":"https://api.github.com/repos/ke-yu/DynamoRevit/branches{/branch}","tags_url":"https://api.github.com/repos/ke-yu/DynamoRevit/tags","blobs_url":"https://api.github.com/repos/ke-yu/DynamoRevit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ke-yu/DynamoRevit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ke-yu/DynamoRevit/git/refs{/sha}","trees_url":"https://api.github.com/repos/ke-yu/DynamoRevit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ke-yu/DynamoRevit/statuses/{sha}","languages_url":"https://api.github.com/repos/ke-yu/DynamoRevit/languages","stargazers_url":"https://api.github.com/repos/ke-yu/DynamoRevit/stargazers","contributors_url":"https://api.github.com/repos/ke-yu/DynamoRevit/contributors","subscribers_url":"https://api.github.com/repos/ke-yu/DynamoRevit/subscribers","subscription_url":"https://api.github.com/repos/ke-yu/DynamoRevit/subscription","commits_url":"https://api.github.com/repos/ke-yu/DynamoRevit/commits{/sha}","git_commits_url":"https://api.github.com/repos/ke-yu/DynamoRevit/git/commits{/sha}","comments_url":"https://api.github.com/repos/ke-yu/DynamoRevit/comments{/number}","issue_comment_url":"https://api.github.com/repos/ke-yu/DynamoRevit/issues/comments{/number}","contents_url":"https://api.github.com/repos/ke-yu/DynamoRevit/contents/{+path}","compare_url":"https://api.github.com/repos/ke-yu/DynamoRevit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ke-yu/DynamoRevit/merges","archive_url":"https://api.github.com/repos/ke-yu/DynamoRevit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ke-yu/DynamoRevit/downloads","issues_url":"https://api.github.com/repos/ke-yu/DynamoRevit/issues{/number}","pulls_url":"https://api.github.com/repos/ke-yu/DynamoRevit/pulls{/number}","milestones_url":"https://api.github.com/repos/ke-yu/DynamoRevit/milestones{/number}","notifications_url":"https://api.github.com/repos/ke-yu/DynamoRevit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ke-yu/DynamoRevit/labels{/name}","releases_url":"https://api.github.com/repos/ke-yu/DynamoRevit/releases{/id}","created_at":"2014-12-10T07:07:44Z","updated_at":"2015-03-30T08:45:13Z","pushed_at":"2015-03-30T08:45:10Z","git_url":"git://github.com/ke-yu/DynamoRevit.git","ssh_url":"git@github.com:ke-yu/DynamoRevit.git","clone_url":"https://github.com/ke-yu/DynamoRevit.git","svn_url":"https://github.com/ke-yu/DynamoRevit","homepage":"http://www.dynamobim.org","size":158302,"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":"Revit2015"}},"base":{"label":"DynamoDS:Revit2015","ref":"Revit2015","sha":"129dbd47bda2a354ef9ff291c50c9f003caad902","user":{"login":"DynamoDS","id":6528209,"avatar_url":"https://avatars.githubusercontent.com/u/6528209?v=3","gravatar_id":"","url":"https://api.github.com/users/DynamoDS","html_url":"https://github.com/DynamoDS","followers_url":"https://api.github.com/users/DynamoDS/followers","following_url":"https://api.github.com/users/DynamoDS/following{/other_user}","gists_url":"https://api.github.com/users/DynamoDS/gists{/gist_id}","starred_url":"https://api.github.com/users/DynamoDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DynamoDS/subscriptions","organizations_url":"https://api.github.com/users/DynamoDS/orgs","repos_url":"https://api.github.com/users/DynamoDS/repos","events_url":"https://api.github.com/users/DynamoDS/events{/privacy}","received_events_url":"https://api.github.com/users/DynamoDS/received_events","type":"Organization","site_admin":false},"repo":{"id":22768182,"name":"DynamoRevit","full_name":"DynamoDS/DynamoRevit","owner":{"login":"DynamoDS","id":6528209,"avatar_url":"https://avatars.githubusercontent.com/u/6528209?v=3","gravatar_id":"","url":"https://api.github.com/users/DynamoDS","html_url":"https://github.com/DynamoDS","followers_url":"https://api.github.com/users/DynamoDS/followers","following_url":"https://api.github.com/users/DynamoDS/following{/other_user}","gists_url":"https://api.github.com/users/DynamoDS/gists{/gist_id}","starred_url":"https://api.github.com/users/DynamoDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DynamoDS/subscriptions","organizations_url":"https://api.github.com/users/DynamoDS/orgs","repos_url":"https://api.github.com/users/DynamoDS/repos","events_url":"https://api.github.com/users/DynamoDS/events{/privacy}","received_events_url":"https://api.github.com/users/DynamoDS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DynamoDS/DynamoRevit","description":"Dynamo Libraries for Revit","fork":false,"url":"https://api.github.com/repos/DynamoDS/DynamoRevit","forks_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/forks","keys_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/teams","hooks_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/hooks","issue_events_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/events{/number}","events_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/events","assignees_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/assignees{/user}","branches_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/branches{/branch}","tags_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/tags","blobs_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/git/refs{/sha}","trees_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/statuses/{sha}","languages_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/languages","stargazers_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/stargazers","contributors_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/contributors","subscribers_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/subscribers","subscription_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/subscription","commits_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/commits{/sha}","git_commits_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/git/commits{/sha}","comments_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/comments{/number}","issue_comment_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/comments{/number}","contents_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/contents/{+path}","compare_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/merges","archive_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/downloads","issues_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues{/number}","pulls_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls{/number}","milestones_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/milestones{/number}","notifications_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/labels{/name}","releases_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/releases{/id}","created_at":"2014-08-08T18:52:34Z","updated_at":"2015-03-30T14:17:32Z","pushed_at":"2015-03-30T14:17:33Z","git_url":"git://github.com/DynamoDS/DynamoRevit.git","ssh_url":"git@github.com:DynamoDS/DynamoRevit.git","clone_url":"https://github.com/DynamoDS/DynamoRevit.git","svn_url":"https://github.com/DynamoDS/DynamoRevit","homepage":"http://www.dynamobim.org","size":188274,"stargazers_count":7,"watchers_count":7,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":6,"forks":31,"open_issues":6,"watchers":7,"default_branch":"Revit2015"}},"_links":{"self":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/312"},"html":{"href":"https://github.com/DynamoDS/DynamoRevit/pull/312"},"issue":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/312"},"comments":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/312/comments"},"review_comments":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/312/comments"},"review_comment":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/312/commits"},"statuses":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/statuses/929a2b055ce2be8c8cdfdea5ef13839ad991b511"}}}}