Last Updated: February 25, 2016
·
628
· cerebrate

Use PostSharp to enforce design patterns/idioms

In this example, I've written a constraint to ensure that I get my preferred Singleton idiom right and identical each time I use it:

https://gist.github.com/cerebrate/6449820

Written by Alistair Young

Recommend
Say Thanks
Update Notifications Off
Respond