Exemplo n.º 1
0
        }                                        // idx of the operation

        /// <summary>
        ///
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public override bool Equals(object obj)
        {
            ExecutionStackEntry executionStackEntry = obj as ExecutionStackEntry;

            if (executionStackEntry == null)
            {
                return(false);
            }

            return(String.Equals(executionStackEntry.HandlerId, HandlerId) &&
                   String.Equals(executionStackEntry.TaskId, TaskId) &&
                   executionStackEntry.OperIdx == OperIdx);
        }
Exemplo n.º 2
0
        /// <summary> pushes an entry to the execution stack constructed by its 3 elements which are recieved as parameters</summary>
        /// <param name="taskId"> </param>
        /// <param name="handlerId"> </param>
        /// <param name="operIdx"> </param>
        internal void push(String taskId, String handlerId, int operIdx)
        {
            var execEntry = new ExecutionStackEntry(taskId, handlerId, operIdx);

            _execStack.Push(execEntry);
        }
Exemplo n.º 3
0
 /// <summary> pushes one entry into the stack</summary>
 /// <param name="execEntry">- to be pushed </param>
 internal void push(ExecutionStackEntry execEntry)
 {
     _execStack.Push(execEntry);
 }