Skip to content

Provide results of reflection PropertyInfo / FieldInfo in TypeAccessor #8

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions