public override void OnInvoke(ActionInterceptionArgs <List <AspectJoinPoints>, List <AspectJoinPoints>, List <AspectJoinPoints> > args)
 {
     args.Arg1.Add(AspectJoinPoints.OnInvoke);
     args.Arg2.Add(AspectJoinPoints.OnInvoke);
     args.Arg3.Add(AspectJoinPoints.OnInvoke);
     base.OnInvoke(args);
 }
 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.º 3
0
 public new void OnInvoke(ActionInterceptionArgs args, string s)
 {
     base.OnInvoke(args);
 }
Exemplo n.º 4
0
 public override void OnInvoke(ActionInterceptionArgs <bool> args)
 {
     base.OnInvoke(args);
 }
Exemplo n.º 5
0
            public new string OnInvoke(ActionInterceptionArgs args)
            {
                base.OnInvoke(args);

                return(string.Empty);
            }
 public override void OnInvoke(ActionInterceptionArgs <int, int> args)
 {
     args.Invoke();
 }
 public override void OnInvoke(ActionInterceptionArgs <int, int> args)
 {
     args.Arg2 = args.Arg1 += (int)AspectJoinPoints.OnInvoke;
     base.OnInvoke(args);
 }
Exemplo n.º 8
0
 public override void OnInvoke(ActionInterceptionArgs <List <AspectJoinPoints>, List <AspectJoinPoints>, List <AspectJoinPoints>, List <AspectJoinPoints>, List <AspectJoinPoints>, List <AspectJoinPoints>, List <AspectJoinPoints>, List <AspectJoinPoints> > args)
 {
     args.Invoke();
 }
 public override void OnInvoke(ActionInterceptionArgs args)
 {
     Console.WriteLine("OnInvoke of AnotherInterceptionAspect");
     base.OnInvoke(args);
 }
 public override void OnInvoke(ActionInterceptionArgs args)
 {
     JoinPointsContainer.JoinPoints.Add(AspectJoinPoints.OnInvoke);
     base.OnInvoke(args);
 }
Exemplo n.º 11
0
 public override void OnInvoke(ActionInterceptionArgs args)
 {
     Console.WriteLine("Hola Mundo");
     args.Proceed();
     Console.WriteLine("Esto es un aspecto");
 }