示例#1
0
 public UniformPair<EventBean[]> OutputView(bool isSynthesize)
 {
     var pair = processor.ProcessViewResult(
         EventBeanUtility.ToArrayNullIfEmpty(eventsNewView),
         EventBeanUtility.ToArrayNullIfEmpty(eventsOldView),
         isSynthesize);
     eventsNewView.Clear();
     eventsOldView.Clear();
     return pair;
 }
        public UniformPair<EventBean[]> OutputView(bool isSynthesize)
        {
            if (outputLastIStreamBufView == null && outputLastRStreamBufView == null) {
                return null;
            }

            var pair = processor.ProcessViewResult(
                EventBeanUtility.ToArrayIfNotNull(outputLastIStreamBufView),
                EventBeanUtility.ToArrayIfNotNull(outputLastRStreamBufView),
                isSynthesize);
            outputLastIStreamBufView = null;
            outputLastRStreamBufView = null;
            return pair;
        }