Skip to content
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

Provide results of reflection PropertyInfo / FieldInfo in TypeAccessor #8

Open
GoogleCodeExporter opened this issue Aug 8, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

It would be nice to be able to pull out the PropertyInfo / FieldInfo array 
results created when the accessor is created. In my use case, I need to build 
TypeAccessors off of anonymous types that "look" like the real typed 
counterpart. In these cases I only want to know what properties in the 
anonymous type match the static type (to avoid crashing on a bad get). I've 
patched my version to provide these results so I don't have to take another 
reflection hit outside of the library to do the same thing, but it might be 
worth adding for everyone. Not worth a patch, it's just trivially exposing 
"props" and "fields" as instance properties.


Original issue reported on code.google.com by daniel.crenna on 24 Oct 2012 at 8:06

@GoogleCodeExporter
Copy link
Author

This is resolved by MemberSet.

Original comment by daniel.crenna on 13 Jan 2015 at 6:26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant