This commit is contained in:
MBucari 2023-07-13 09:25:57 -06:00
parent c1d56adbd2
commit ff63b73c09
3 changed files with 9 additions and 3 deletions

View file

@ -54,6 +54,8 @@ namespace LibationUiBase.GridView
SynchronizationContext.SetSynchronizationContext(syncContext);
int length = int.Min(numPer, products.Length - start);
if (length < 1) return Array.Empty<IGridEntry>();
var result = new IGridEntry[length];
for (int j = 0; j < length; j++)

View file

@ -4,7 +4,6 @@ using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
namespace LibationUiBase.GridView