Run a method before all methods of a class

You can’t do this automatically in C# – you should probably be looking at AOP, e.g. with PostSharp.

Leave a Comment