-
- Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] [bidi] Get tree command returns GetTreeResult object #15978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Thanks Nick |
User description
💥 What does this PR do?
Be more closer to low-level specification.
🔧 Implementation Notes
User is still able to use previous code, like
And additionally:
In general we reveal nested Enumerable property of
Enumerable Result
to support more properties in future.💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Refactor BiDi result objects to expose nested properties
Make
GetTreeResult
implementIReadOnlyList<BrowsingContextInfo>
Add
Contexts
property toGetTreeResult
for better API accessUpdate multiple result classes to use public properties instead of private fields
Changes diagram
Changes walkthrough 📝
8 files
Refactor GetTreeResult to implement IReadOnlyList
Update GetTreeAsync return type
Update GetTreeAsync method signature
Add JSON converter for GetTreeResult
Expose ClientWindows as public property
Expose UserContexts as public property
Expose Nodes as public property
Expose Cookies as public property
1 files
Register GetTreeResultConverter