public override EventBean GetSubstituteEvent(EventBean originalEvent, bool isNewData, int constantIndexNumber)
 {
     if (isNewData)
     {
         return(_randomAccess.GetNewData(constantIndexNumber));
     }
     else
     {
         return(_randomAccess.GetOldData(constantIndexNumber));
     }
 }
示例#2
0
        public EventBean GetSubstituteEvent(
            EventBean originalEvent,
            bool isNewData,
            int constantIndexNumber,
            int relativeIndex,
            ExprEvaluatorContext exprEvaluatorContext,
            int streamNum)
        {
            if (isNewData) {
                return randomAccess.GetNewData(constantIndexNumber);
            }

            return randomAccess.GetOldData(constantIndexNumber);
        }