{"action":"created","comment":{"url":"https://api.github.com/repos/nventive/Uno/pulls/comments/237237975","pull_request_review_id":179488405,"id":237237975,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzIzNzk3NQ==","diff_hunk":"@@ -0,0 +1,18 @@\n+﻿using System;\n+using System.Collections.Generic;\n+using System.Text;\n+\n+namespace Windows.ApplicationModel.DataTransfer\n+{\n+\tpublic partial class DataPackage\n+\t{\n+\t\tinternal string Text { get; private set; }\n+\n+#if !(NET46 || __MACOS__)","path":"src/Uno.UWP/ApplicationModel/DataTransfer/DataPackage.cs","position":11,"original_position":11,"commit_id":"77d02caa5daf98971b64ab4cba80ad8e646936e5","original_commit_id":"77d02caa5daf98971b64ab4cba80ad8e646936e5","user":{"login":"XiaotianNetlift","id":32882405,"node_id":"MDQ6VXNlcjMyODgyNDA1","avatar_url":"https://avatars3.githubusercontent.com/u/32882405?v=4","gravatar_id":"","url":"https://api.github.com/users/XiaotianNetlift","html_url":"https://github.com/XiaotianNetlift","followers_url":"https://api.github.com/users/XiaotianNetlift/followers","following_url":"https://api.github.com/users/XiaotianNetlift/following{/other_user}","gists_url":"https://api.github.com/users/XiaotianNetlift/gists{/gist_id}","starred_url":"https://api.github.com/users/XiaotianNetlift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XiaotianNetlift/subscriptions","organizations_url":"https://api.github.com/users/XiaotianNetlift/orgs","repos_url":"https://api.github.com/users/XiaotianNetlift/repos","events_url":"https://api.github.com/users/XiaotianNetlift/events{/privacy}","received_events_url":"https://api.github.com/users/XiaotianNetlift/received_events","type":"User","site_admin":false},"body":"For `NET46`, clipboard access is usually done through the `Clipboard` class that you would include either from wpf or winforms. I am not sure if it would be a good idea to dynamically check the referenced library to determine which implementation to invoke (dynamically) in the case of an wpf/winform project. Or, which library to import in the case of a library/console project.\r\n\r\nAs for `__MACOS__`, I couldn't simply find an environment to test it.","created_at":"2018-11-28T19:54:49Z","updated_at":"2018-11-28T19:54:49Z","html_url":"https://github.com/nventive/Uno/pull/390#discussion_r237237975","pull_request_url":"https://api.github.com/repos/nventive/Uno/pulls/390","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/nventive/Uno/pulls/comments/237237975"},"html":{"href":"https://github.com/nventive/Uno/pull/390#discussion_r237237975"},"pull_request":{"href":"https://api.github.com/repos/nventive/Uno/pulls/390"}},"in_reply_to_id":237227624},"pull_request":{"url":"https://api.github.com/repos/nventive/Uno/pulls/390","id":233644738,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNjQ0NzM4","html_url":"https://github.com/nventive/Uno/pull/390","diff_url":"https://github.com/nventive/Uno/pull/390.diff","patch_url":"https://github.com/nventive/Uno/pull/390.patch","issue_url":"https://api.github.com/repos/nventive/Uno/issues/390","number":390,"state":"open","locked":false,"title":"Add support for Windows.ApplicationModel.DataTransfer.Clipboard","user":{"login":"XiaotianNetlift","id":32882405,"node_id":"MDQ6VXNlcjMyODgyNDA1","avatar_url":"https://avatars3.githubusercontent.com/u/32882405?v=4","gravatar_id":"","url":"https://api.github.com/users/XiaotianNetlift","html_url":"https://github.com/XiaotianNetlift","followers_url":"https://api.github.com/users/XiaotianNetlift/followers","following_url":"https://api.github.com/users/XiaotianNetlift/following{/other_user}","gists_url":"https://api.github.com/users/XiaotianNetlift/gists{/gist_id}","starred_url":"https://api.github.com/users/XiaotianNetlift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XiaotianNetlift/subscriptions","organizations_url":"https://api.github.com/users/XiaotianNetlift/orgs","repos_url":"https://api.github.com/users/XiaotianNetlift/repos","events_url":"https://api.github.com/users/XiaotianNetlift/events{/privacy}","received_events_url":"https://api.github.com/users/XiaotianNetlift/received_events","type":"User","site_admin":false},"body":"## PR Type\r\nWhat kind of change does this PR introduce?\r\nFeature\r\n\r\n## What is the current behavior?\r\nNo implementation in Uno, other than for wasm.\r\n\r\n## What is the new behavior?\r\n`Clipboard.SetContent` is made available for uwp, ios, and android.\r\n\r\n## PR Checklist\r\nPlease check if your PR fulfills the following requirements:\r\n\r\n- [x] Tested code with current [supported SDKs](../README.md#supported)\r\n- [x] Contains **NO** breaking changes\r\n- [x] Updated the [Release Notes](https://github.com/nventive/Uno/tree/master/doc/ReleaseNotes)\r\n- [x] Associated with an issue (GitHub or internal)\r\n\r\n## Other information\r\n\r\nInternal Issue (If applicable):\r\nhttps://feedback.nventive.com/communities/1/topics/831-need-a-recipe-to-copy-to-clipboard\r\nhttps://nventive.visualstudio.com/Umbrella/_workitems/edit/35178/","created_at":"2018-11-26T17:51:26Z","updated_at":"2018-11-28T19:54:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e0c075c77f96d15dd3b8f31b1518c18644ed26b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jeremiethibeault","id":5444226,"node_id":"MDQ6VXNlcjU0NDQyMjY=","avatar_url":"https://avatars3.githubusercontent.com/u/5444226?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremiethibeault","html_url":"https://github.com/jeremiethibeault","followers_url":"https://api.github.com/users/jeremiethibeault/followers","following_url":"https://api.github.com/users/jeremiethibeault/following{/other_user}","gists_url":"https://api.github.com/users/jeremiethibeault/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremiethibeault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremiethibeault/subscriptions","organizations_url":"https://api.github.com/users/jeremiethibeault/orgs","repos_url":"https://api.github.com/users/jeremiethibeault/repos","events_url":"https://api.github.com/users/jeremiethibeault/events{/privacy}","received_events_url":"https://api.github.com/users/jeremiethibeault/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":925262925,"node_id":"MDU6TGFiZWw5MjUyNjI5MjU=","url":"https://api.github.com/repos/nventive/Uno/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/nventive/Uno/pulls/390/commits","review_comments_url":"https://api.github.com/repos/nventive/Uno/pulls/390/comments","review_comment_url":"https://api.github.com/repos/nventive/Uno/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nventive/Uno/issues/390/comments","statuses_url":"https://api.github.com/repos/nventive/Uno/statuses/77d02caa5daf98971b64ab4cba80ad8e646936e5","head":{"label":"nventive:dev/xygu/35178/copy-to-clipboard-recipe","ref":"dev/xygu/35178/copy-to-clipboard-recipe","sha":"77d02caa5daf98971b64ab4cba80ad8e646936e5","user":{"login":"nventive","id":30845833,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwODQ1ODMz","avatar_url":"https://avatars1.githubusercontent.com/u/30845833?v=4","gravatar_id":"","url":"https://api.github.com/users/nventive","html_url":"https://github.com/nventive","followers_url":"https://api.github.com/users/nventive/followers","following_url":"https://api.github.com/users/nventive/following{/other_user}","gists_url":"https://api.github.com/users/nventive/gists{/gist_id}","starred_url":"https://api.github.com/users/nventive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nventive/subscriptions","organizations_url":"https://api.github.com/users/nventive/orgs","repos_url":"https://api.github.com/users/nventive/repos","events_url":"https://api.github.com/users/nventive/events{/privacy}","received_events_url":"https://api.github.com/users/nventive/received_events","type":"Organization","site_admin":false},"repo":{"id":132453438,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI0NTM0Mzg=","name":"Uno","full_name":"nventive/Uno","private":false,"owner":{"login":"nventive","id":30845833,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwODQ1ODMz","avatar_url":"https://avatars1.githubusercontent.com/u/30845833?v=4","gravatar_id":"","url":"https://api.github.com/users/nventive","html_url":"https://github.com/nventive","followers_url":"https://api.github.com/users/nventive/followers","following_url":"https://api.github.com/users/nventive/following{/other_user}","gists_url":"https://api.github.com/users/nventive/gists{/gist_id}","starred_url":"https://api.github.com/users/nventive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nventive/subscriptions","organizations_url":"https://api.github.com/users/nventive/orgs","repos_url":"https://api.github.com/users/nventive/repos","events_url":"https://api.github.com/users/nventive/events{/privacy}","received_events_url":"https://api.github.com/users/nventive/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nventive/Uno","description":"The Uno Platform, the UWP bridge for iOS, Android, and WebAssembly","fork":false,"url":"https://api.github.com/repos/nventive/Uno","forks_url":"https://api.github.com/repos/nventive/Uno/forks","keys_url":"https://api.github.com/repos/nventive/Uno/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nventive/Uno/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nventive/Uno/teams","hooks_url":"https://api.github.com/repos/nventive/Uno/hooks","issue_events_url":"https://api.github.com/repos/nventive/Uno/issues/events{/number}","events_url":"https://api.github.com/repos/nventive/Uno/events","assignees_url":"https://api.github.com/repos/nventive/Uno/assignees{/user}","branches_url":"https://api.github.com/repos/nventive/Uno/branches{/branch}","tags_url":"https://api.github.com/repos/nventive/Uno/tags","blobs_url":"https://api.github.com/repos/nventive/Uno/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nventive/Uno/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nventive/Uno/git/refs{/sha}","trees_url":"https://api.github.com/repos/nventive/Uno/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nventive/Uno/statuses/{sha}","languages_url":"https://api.github.com/repos/nventive/Uno/languages","stargazers_url":"https://api.github.com/repos/nventive/Uno/stargazers","contributors_url":"https://api.github.com/repos/nventive/Uno/contributors","subscribers_url":"https://api.github.com/repos/nventive/Uno/subscribers","subscription_url":"https://api.github.com/repos/nventive/Uno/subscription","commits_url":"https://api.github.com/repos/nventive/Uno/commits{/sha}","git_commits_url":"https://api.github.com/repos/nventive/Uno/git/commits{/sha}","comments_url":"https://api.github.com/repos/nventive/Uno/comments{/number}","issue_comment_url":"https://api.github.com/repos/nventive/Uno/issues/comments{/number}","contents_url":"https://api.github.com/repos/nventive/Uno/contents/{+path}","compare_url":"https://api.github.com/repos/nventive/Uno/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nventive/Uno/merges","archive_url":"https://api.github.com/repos/nventive/Uno/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nventive/Uno/downloads","issues_url":"https://api.github.com/repos/nventive/Uno/issues{/number}","pulls_url":"https://api.github.com/repos/nventive/Uno/pulls{/number}","milestones_url":"https://api.github.com/repos/nventive/Uno/milestones{/number}","notifications_url":"https://api.github.com/repos/nventive/Uno/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nventive/Uno/labels{/name}","releases_url":"https://api.github.com/repos/nventive/Uno/releases{/id}","deployments_url":"https://api.github.com/repos/nventive/Uno/deployments","created_at":"2018-05-07T11:52:27Z","updated_at":"2018-11-28T19:40:58Z","pushed_at":"2018-11-28T19:40:57Z","git_url":"git://github.com/nventive/Uno.git","ssh_url":"git@github.com:nventive/Uno.git","clone_url":"https://github.com/nventive/Uno.git","svn_url":"https://github.com/nventive/Uno","homepage":"http://platform.uno/","size":18147,"stargazers_count":672,"watchers_count":672,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"archived":false,"open_issues_count":117,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":36,"open_issues":117,"watchers":672,"default_branch":"master"}},"base":{"label":"nventive:master","ref":"master","sha":"3e2be2e29b0febd6801af4b02d22fc0507660ec5","user":{"login":"nventive","id":30845833,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwODQ1ODMz","avatar_url":"https://avatars1.githubusercontent.com/u/30845833?v=4","gravatar_id":"","url":"https://api.github.com/users/nventive","html_url":"https://github.com/nventive","followers_url":"https://api.github.com/users/nventive/followers","following_url":"https://api.github.com/users/nventive/following{/other_user}","gists_url":"https://api.github.com/users/nventive/gists{/gist_id}","starred_url":"https://api.github.com/users/nventive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nventive/subscriptions","organizations_url":"https://api.github.com/users/nventive/orgs","repos_url":"https://api.github.com/users/nventive/repos","events_url":"https://api.github.com/users/nventive/events{/privacy}","received_events_url":"https://api.github.com/users/nventive/received_events","type":"Organization","site_admin":false},"repo":{"id":132453438,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI0NTM0Mzg=","name":"Uno","full_name":"nventive/Uno","private":false,"owner":{"login":"nventive","id":30845833,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwODQ1ODMz","avatar_url":"https://avatars1.githubusercontent.com/u/30845833?v=4","gravatar_id":"","url":"https://api.github.com/users/nventive","html_url":"https://github.com/nventive","followers_url":"https://api.github.com/users/nventive/followers","following_url":"https://api.github.com/users/nventive/following{/other_user}","gists_url":"https://api.github.com/users/nventive/gists{/gist_id}","starred_url":"https://api.github.com/users/nventive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nventive/subscriptions","organizations_url":"https://api.github.com/users/nventive/orgs","repos_url":"https://api.github.com/users/nventive/repos","events_url":"https://api.github.com/users/nventive/events{/privacy}","received_events_url":"https://api.github.com/users/nventive/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nventive/Uno","description":"The Uno Platform, the UWP bridge for iOS, Android, and WebAssembly","fork":false,"url":"https://api.github.com/repos/nventive/Uno","forks_url":"https://api.github.com/repos/nventive/Uno/forks","keys_url":"https://api.github.com/repos/nventive/Uno/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nventive/Uno/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nventive/Uno/teams","hooks_url":"https://api.github.com/repos/nventive/Uno/hooks","issue_events_url":"https://api.github.com/repos/nventive/Uno/issues/events{/number}","events_url":"https://api.github.com/repos/nventive/Uno/events","assignees_url":"https://api.github.com/repos/nventive/Uno/assignees{/user}","branches_url":"https://api.github.com/repos/nventive/Uno/branches{/branch}","tags_url":"https://api.github.com/repos/nventive/Uno/tags","blobs_url":"https://api.github.com/repos/nventive/Uno/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nventive/Uno/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nventive/Uno/git/refs{/sha}","trees_url":"https://api.github.com/repos/nventive/Uno/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nventive/Uno/statuses/{sha}","languages_url":"https://api.github.com/repos/nventive/Uno/languages","stargazers_url":"https://api.github.com/repos/nventive/Uno/stargazers","contributors_url":"https://api.github.com/repos/nventive/Uno/contributors","subscribers_url":"https://api.github.com/repos/nventive/Uno/subscribers","subscription_url":"https://api.github.com/repos/nventive/Uno/subscription","commits_url":"https://api.github.com/repos/nventive/Uno/commits{/sha}","git_commits_url":"https://api.github.com/repos/nventive/Uno/git/commits{/sha}","comments_url":"https://api.github.com/repos/nventive/Uno/comments{/number}","issue_comment_url":"https://api.github.com/repos/nventive/Uno/issues/comments{/number}","contents_url":"https://api.github.com/repos/nventive/Uno/contents/{+path}","compare_url":"https://api.github.com/repos/nventive/Uno/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nventive/Uno/merges","archive_url":"https://api.github.com/repos/nventive/Uno/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nventive/Uno/downloads","issues_url":"https://api.github.com/repos/nventive/Uno/issues{/number}","pulls_url":"https://api.github.com/repos/nventive/Uno/pulls{/number}","milestones_url":"https://api.github.com/repos/nventive/Uno/milestones{/number}","notifications_url":"https://api.github.com/repos/nventive/Uno/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nventive/Uno/labels{/name}","releases_url":"https://api.github.com/repos/nventive/Uno/releases{/id}","deployments_url":"https://api.github.com/repos/nventive/Uno/deployments","created_at":"2018-05-07T11:52:27Z","updated_at":"2018-11-28T19:40:58Z","pushed_at":"2018-11-28T19:40:57Z","git_url":"git://github.com/nventive/Uno.git","ssh_url":"git@github.com:nventive/Uno.git","clone_url":"https://github.com/nventive/Uno.git","svn_url":"https://github.com/nventive/Uno","homepage":"http://platform.uno/","size":18147,"stargazers_count":672,"watchers_count":672,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"archived":false,"open_issues_count":117,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":36,"open_issues":117,"watchers":672,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nventive/Uno/pulls/390"},"html":{"href":"https://github.com/nventive/Uno/pull/390"},"issue":{"href":"https://api.github.com/repos/nventive/Uno/issues/390"},"comments":{"href":"https://api.github.com/repos/nventive/Uno/issues/390/comments"},"review_comments":{"href":"https://api.github.com/repos/nventive/Uno/pulls/390/comments"},"review_comment":{"href":"https://api.github.com/repos/nventive/Uno/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nventive/Uno/pulls/390/commits"},"statuses":{"href":"https://api.github.com/repos/nventive/Uno/statuses/77d02caa5daf98971b64ab4cba80ad8e646936e5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"XiaotianNetlift"}}