Inheritance: NCop.Aspects.Engine.AbstractMethodInterceptionArgs, IActionInterceptionArgs
Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public virtual void OnInvoke(ActionInterceptionArgs args)
 {
     args.Proceed();
 }
Exemplo n.º 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);
 }
Exemplo n.º 5
0
 public virtual void OnInvoke(ActionInterceptionArgs <TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8> args)
 {
     args.Proceed();
 }
Exemplo n.º 6
0
 public virtual void OnInvoke(ActionInterceptionArgs args)
 {
     args.Proceed();
 }
 public override void OnInvoke(ActionInterceptionArgs args)
 {
     JoinPointsContainer.JoinPoints.Add(AspectJoinPoints.OnInvoke);
     base.OnInvoke(args);
 }