private EventBean[] GetUnpacked(EventBean[] data) { if (data == null) { return null; } if (data.Length == 0) { return data; } for (var i = 0; i < data.Length; i++) { var unpacked = optPropertyEvaluator.GetProperty(data[i], exprEvaluatorContext); optPropertyContainedBuffer.Add(unpacked); } return optPropertyContainedBuffer.GetAndFlush(); }
private EventBean[] GetUnpacked(EventBean[] data) { if (data == null) { return(null); } if (data.Length == 0) { return(data); } for (int i = 0; i < data.Length; i++) { EventBean[] unpacked = _optPropertyEvaluator.GetProperty(data[i], _exprEvaluatorContext); _optPropertyContainedBuffer.Add(unpacked); } return(_optPropertyContainedBuffer.GetAndFlush()); }