Esempio n. 1
0
        public void decorate(IDispatchAMethodCall method)
        {
            if (!constraint())
            {
                return;
            }

            method.proceed();
        }
Esempio n. 2
0
 public void decorate(IDispatchAMethodCall method)
 {
     timer.start();
     method.proceed();
     timer.stop();
 }