Skip to content

Updated for compatibility with new TypeInfo-based Reflection API#13

Open
leonluc-dev wants to merge 2 commits into
Burtsev-Alexey:masterfrom
leonluc-dev:master
Open

Updated for compatibility with new TypeInfo-based Reflection API#13
leonluc-dev wants to merge 2 commits into
Burtsev-Alexey:masterfrom
leonluc-dev:master

Conversation

@leonluc-dev

Copy link
Copy Markdown

Updated for compatibility with new TypeInfo Reflection API, used in new
.NET environments like Windows Phone 8.1 , Apps for Windows Store and
their respective PCL profiles.

Updated for compatibility with new TypeInfo Reflection API, used in new
.NET environments like Windows Phone 8.1 and Apps for Windows Store and
their respective PCL profiles.
Comment thread ObjectExtensions.cs Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why implement CopyProperties? Properties are just setter and getter functions with underlying fields in a different syntax. Those underlying fields should already be copied in the CopyFields() method.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This was actually a oversight on my part. I have corrected this in my latest commit.

CopyProperties method has been removed because underlying property
values are copied by the CopyField methods.
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