Repository navigation
[docs] Improve XML docs for SRAbsoluteTime, MPMediaItemArtwork, SKPaymentTransactionState, SKDownloadState, CGPDFPage, CGShading, CGLayer - #25945
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR improves XML documentation across several small Apple-platform binding types, replacing placeholder text and removing empty remarks to make the generated API docs more useful and accurate.
Changes:
- Added/updated XML summaries for StoreKit enums and SensorKit
SRAbsoluteTimemembers. - Removed placeholder
<remarks>entries and tightened type references in MediaPlayer/CoreGraphics docs. - Fixed malformed/placeholder documentation on
CGLayer.Create(ordering and content).
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/StoreKit/Enums.cs | Improves enum/value summaries for SKPaymentTransactionState and SKDownloadState. |
| src/SensorKit/SRAbsoluteTime.cs | Adds XML docs for the SRAbsoluteTime static class and its conversion P/Invoke members. |
| src/MediaPlayer/MPMediaItemArtwork.cs | Removes placeholder remarks and simplifies type reference in the summary. |
| src/CoreGraphics/CGShading.cs | Removes an empty/placeholder <remarks> block from the type docs. |
| src/CoreGraphics/CGPDFPage.cs | Replaces placeholder remarks and normalizes the type summary wording/casing. |
| src/CoreGraphics/CGLayer.cs | Replaces placeholder/misordered XML docs on Create with proper summary/params/returns. |
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ [PR Build #6ebdfa1] Build passed (Build packages) ✅Pipeline on Agent |
✅ [PR Build #6ebdfa1] Build passed (Detect API changes) ✅Pipeline on Agent |
✅ [PR Build #6ebdfa1] Build passed (Build macOS tests) ✅Pipeline on Agent |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
🚀 [CI Build #6ebdfa1] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 199 tests passed 🎉 Tests counts✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Improve XML documentation for several small types (48 total changed lines):
<remarks>nodeAll changes replace 'To be added.' placeholders with meaningful descriptions and remove empty
<remarks>nodes.🤖 Pull request created by Copilot