Add documentation and in-code awareness for shared WinForms/WPF clipboard/OLE infrastructure#14306
Add documentation and in-code awareness for shared WinForms/WPF clipboard/OLE infrastructure#14306
Conversation
…d in-code comments Co-authored-by: KlausLoeffelmann <9663150+KlausLoeffelmann@users.noreply.github.com>
|
@JeremyKuhne, Copilot created this PR for the documentation. @Shyam-Gupta, @merriemcgaw FYI. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #14306 +/- ##
===================================================
+ Coverage 77.18299% 77.24067% +0.05767%
===================================================
Files 3279 3279
Lines 645137 645107 -30
Branches 47730 47731 +1
===================================================
+ Hits 497936 498285 +349
+ Misses 143518 143126 -392
- Partials 3683 3696 +13
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
KlausLoeffelmann
left a comment
There was a problem hiding this comment.
Looks plausible to me as it is.
JeremyKuhne
left a comment
There was a problem hiding this comment.
Left some feedback. I'm the original implementer of this logic.
Co-authored-by: JeremyKuhne <8184940+JeremyKuhne@users.noreply.github.com>
Head branch was pushed to by a user without write access
JeremyKuhne
left a comment
There was a problem hiding this comment.
@KlausLoeffelmann it might be useful to task @copilot to create another PR and document to detail step-by-step how to manually consume the shared changes in the WPF repo.
Completed: Shared WinForms/WPF Clipboard/OLE Documentation
docs/shared-wpf-infrastructure.md(11KB, 189 lines) explaining:Composition.NativeToManagedAdapter.cs- Core data object adapterComposition.cs- Main composition classdocs/developer-guide.mdto reference new shared infrastructure docSummary
This PR adds critical documentation and in-code awareness about the shared clipboard/OLE implementation used by both WinForms and WPF. The documentation provides detailed case studies of recent issues (WPF #14308/#11402 fixed via WinForms #14257), explains the packaging and ingestion mechanism, and gives clear contributor guidance for working with shared code.
References:
Original prompt
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Microsoft Reviewers: Open in CodeFlow