Skip to content

Fixed an issue where attributes of the same name cannot be expanded when subclasses inherit and hide attributes of the parent class - #645

Merged
xuzhg merged 4 commits into
OData:mainfrom
Dean-ZhenYao-Wang:main
Aug 12, 2022
Merged

Fixed an issue where attributes of the same name cannot be expanded when subclasses inherit and hide attributes of the parent class#645
xuzhg merged 4 commits into
OData:mainfrom
Dean-ZhenYao-Wang:main

Conversation

@Dean-ZhenYao-Wang

Copy link
Copy Markdown
Contributor

No description provided.

…hen subclasses inherit and hide attributes of the parent class
@Dean-ZhenYao-Wang

Copy link
Copy Markdown
Contributor Author

#644

@Dean-ZhenYao-Wang
Dean-ZhenYao-Wang requested a review from xuzhg July 29, 2022 06:29
xuzhg
xuzhg previously approved these changes Aug 5, 2022
* History of code:
* propertyInfo = source.Type.GetProperty(propertyName);
*/
propertyInfo = source.Type.GetProperties().Where(m => m.Name.Equals(propertyName)).FirstOrDefault();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you please add some comments for your change in the source file?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you please add some comments for your change in the source file?

Code comments have been added to the new submission

@ghost

ghost commented Aug 6, 2022

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@Dean-ZhenYao-Wang
Dean-ZhenYao-Wang requested a review from xuzhg August 7, 2022 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants