Repository navigation
Improve XML docs for eight types - #26395
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
There was a problem hiding this comment.
Pull request overview
This PR improves XML documentation for several Apple framework bindings, replacing placeholder “To be added.” text with more specific summaries/param docs to better describe behavior and intent across CoreGraphics, AVFoundation, CoreBluetooth, BusinessChat, and AppKit.
Changes:
- Replaced placeholder XML docs with concrete summaries for a few enums and convenience APIs.
- Added/clarified parameter and return-value documentation for selected helper methods/constructors.
- Improved clarity around gradient drawing options, rectangle edge semantics, and AVFoundation depth data helpers.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/CoreGraphics/CGGradient.cs | Improves enum member documentation for CGGradientDrawingOptions (None). |
| src/CoreGraphics/CGGeometry.cs | Replaces placeholder docs for CGRectEdge members with specific edge semantics. |
| src/CoreBluetooth/GuidWrapper.cs | Improves XML docs for CBPeripheral service discovery convenience overloads. |
| src/BusinessChat/BCChatAction.cs | Adds a clear class summary and documents OpenTranscript parameters. |
| src/AVFoundation/AVDepthData.cs | Clarifies XML docs for AVDepthData.Create and AvailableDepthDataTypes. |
| src/AVFoundation/AVCaptureVideoPreviewLayer.cs | Improves docs for InitMode and constructors. |
| src/AVFoundation/AVAudioChannelLayout.cs | Cleans up and clarifies docs for ctor and Layout property. |
| src/AppKit/NSTreeController.cs | Improves docs for selection index path convenience properties. |
Suppressed comments (1)
src/CoreBluetooth/GuidWrapper.cs:91
- 🤖 💡 suggestion Documentation — This method also discovers all included services when
includedServiceUUIDsisnull(see theif (includedServiceUUIDs is null)branch). Updating the summary would make that behavior easier to discover.
/// <summary>Discovers included services of the specified types in a service.</summary>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
This comment has been minimized.
This comment has been minimized.
✅ 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 |
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.
🚀 [CI Build #4a7fab0] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 203 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:
AVAudioChannelLayoutAVCaptureVideoPreviewLayerAVDepthDataNSTreeControllerBCChatActionCBPeripheralCGRectEdgeCGGradientDrawingOptionsEach type is documented in a separate commit.
🤖 Pull request created by Copilot