private IEnumerable <InkStroke> GetStrokesByIds(IEnumerable <uint> strokeIds) { foreach (var strokeId in strokeIds) { yield return(_strokeContainer.GetStrokeById(strokeId)); } }