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:
Written by Alistair Young
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Design patterns
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#