Jeff-Lewis / codesmith

Automatically exported from code.google.com/p/codesmith
0 stars 0 forks source link

Provide PropertyInfo on TargetProperty in Rules #124

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Break a rule on an object.
2. look at RuleManager.BrokenRules
3.

What is the expected output? What do you see instead?

The PropertyInfo reflected object of the TargetProperty.

Please use labels and text to provide additional information.

Inside the Rule it would be great if you could not only have the
"TargetProperty" as a string but also expose the PropertyInfo
TargetProperty reflection.

I know your code is already doing that to actually validate the value, but
would be nice to just expose that too
Save me from looking it up.

Original issue reported on code.google.com by billrob...@gmail.com on 20 Aug 2009 at 8:59

GoogleCodeExporter commented 9 years ago
Seems like a good idea to me.

Original comment by ejsm...@gmail.com on 27 Aug 2009 at 10:05

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 28 Aug 2009 at 4:07