Inheritance: NCop.Aspects.Engine.AbstractMethodInterceptionArgs, IActionInterceptionArgs
 public override void OnInvoke(ActionInterceptionArgs args)
 {
     stopwatch.Restart();
     args.Proceed();
     stopwatch.Stop();
     Console.WriteLine("{0} OnSuccess", args.Method.Name);
     Console.WriteLine("Elapsed Ticks: {0}", stopwatch.ElapsedTicks);
 }
Exemple #2
0
 public virtual void OnInvoke(ActionInterceptionArgs args)
 {
     args.Proceed();
 }
Exemple #3
0
 public virtual void OnInvoke(ActionInterceptionArgs <TArg1, TArg2, TArg3> args)
 {
     args.Proceed();
 }
 public override void OnInvoke(ActionInterceptionArgs args)
 {
     Console.WriteLine("OnInvoke of AnotherInterceptionAspect");
     base.OnInvoke(args);
 }
 public virtual void OnInvoke(ActionInterceptionArgs <TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8> args)
 {
     args.Proceed();
 }
 public virtual void OnInvoke(ActionInterceptionArgs args)
 {
     args.Proceed();
 }
 public override void OnInvoke(ActionInterceptionArgs args)
 {
     JoinPointsContainer.JoinPoints.Add(AspectJoinPoints.OnInvoke);
     base.OnInvoke(args);
 }