public override EventBean GetSubstituteEvent(EventBean originalEvent, bool isNewData, int constantIndexNumber) { if (isNewData) { return(_randomAccess.GetNewData(constantIndexNumber)); } else { return(_randomAccess.GetOldData(constantIndexNumber)); } }
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); }