Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Teeny-tiny static reflection class
C#
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
projects
.gitignore
Lambda.cs
Tests.cs
readme.md

readme.md

Lambdanator (λ)

A teeny-tiny static reflection class.

Usage

Just copy Lambda.cs into your project and you're away!

You can clone this repository and build it from source if you want an assembly, or if you want to run the tests.

Examples

λ.Reflect<SomeClass>(x => x.AMethod());

λ.Reflect<SomeClass>(x => x.AProperty);

λ.Reflect(() => local);

If you don't like the λ syntax, you can use Lambda instead.

Lambda.Reflect<SomeClass>(x => x.AMethod());

Lambda.Reflect<SomeClass>(x => x.AProperty);

Lambda.Reflect(() => local);

License

New BSD, leave it at the top of the file, but otherwise do as you please just don't blame me if it blows up.

Something went wrong with that request. Please try again.