!FluentAOP

FluentAOP is a simple API that is based on the CThru engine. It allows to easily set the behavior of system-wide calls.

Some examples:

      //the following will skip all method calls in a class or namespace "UnderTest", or if the method name contains "foo"
           var aop = new AOP())
           aop.SkipMethod.Whenever((args) => args.TypeName.Contains("UnderTest"));
           aop.SkipMethod.Whenever((args) => args.MethodName.Contains("foo"));
           aop.Enable();

Last edited Feb 25, 2009 at 6:52 AM by RoyOsherove, version 1

Comments

No comments yet.