2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-12-14 08:50:23 +00:00

Async serialization

This commit is contained in:
2025-11-04 11:47:40 +03:00
parent a764b452e2
commit fc943c8a36
10 changed files with 717 additions and 119 deletions

View File

@@ -22,6 +22,7 @@ SOFTWARE.
*/
using Esiur.Data;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -102,6 +103,9 @@ public class AsyncBag<T> : AsyncReply, IAsyncBag
}
else
{
if (ArrayType != null)
replies[i] = RuntimeCaster.Cast(replies[i], ArrayType);
results.SetValue(replies[i], index);
count++;
if (count == replies.Count)