public int Sum(Guid executionId, int x, int y)
        {
            var sum = decorated.Sum(executionId, x, y);

            executionStack.PushInstance(executionId, this);
            return(sum);
        }
Esempio n. 2
0
        public int Sum(Guid executionId, int x, int y)
        {
            var result = decorated.Sum(executionId, x, y);

            executionStack.PushInstance(executionId, this);
            Console.WriteLine("Sum executed");
            return(result);
        }
Esempio n. 3
0
 public int Sum(Guid executionId, int x, int y)
 {
     executionStack.PushInstance(executionId, this);
     return(x + y);
 }