Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mookid8000/ponder
https://github.com/mookid8000/ponder
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mookid8000/ponder
- Owner: mookid8000
- Created: 2011-07-08T10:33:50.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-01-12T06:49:26.000Z (almost 13 years ago)
- Last Synced: 2024-04-15T02:50:40.345Z (7 months ago)
- Language: C#
- Homepage:
- Size: 141 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
What?
====Ponder is a simple, source-code-only thing, that can help doing common expression reflection tasks in C#.
How?
====1. Put Ponder.cs in a lib folder in your project.
1. In your project, go to the "Add existing item..." menu, and MARK Ponder.cs (don't SELECT it just yet...)
1. Click that funny little arrow next to the "Add" button
1. Select "Add As Link"and BAM! - your project should now _reference_ Ponder.cs, thus allowing it to reside in your `lib` folder and be updated like you update all of your other dependencies.
Now you should be able to do stuff like this:
```C#
var path = Reflect.Path(p => p.FirstName.Length);
// path is "FirstName.Length"
```Nifty, huh?
License
====Ponder is [Beer-ware][1].
[1]: http://en.wikipedia.org/wiki/Beerware
[2]: http://twitter.com/#!/mookid8000