mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 05:23:13 +00:00
New AsyncReply
This commit is contained in:
@ -202,6 +202,7 @@ namespace Esyur.Stores.MongoDB
|
||||
x);
|
||||
});
|
||||
|
||||
|
||||
bag.Add(av);
|
||||
}
|
||||
|
||||
@ -222,7 +223,7 @@ namespace Esyur.Stores.MongoDB
|
||||
return rt;
|
||||
}
|
||||
|
||||
IAsyncReply<object> Parse(BsonValue value)
|
||||
AsyncReply Parse(BsonValue value)
|
||||
{
|
||||
if (value.BsonType == BsonType.Document)
|
||||
{
|
||||
@ -850,8 +851,8 @@ namespace Esyur.Stores.MongoDB
|
||||
foreach (var child in children)
|
||||
{
|
||||
var r = Warehouse.Get(child);
|
||||
if (r is IAsyncReply<T>)
|
||||
rt.Add((IAsyncReply<T>)r);
|
||||
if (r is AsyncReply<T>)
|
||||
rt.Add(r);// (AsyncReply<T>)r);
|
||||
}
|
||||
|
||||
rt.Seal();
|
||||
@ -882,8 +883,8 @@ namespace Esyur.Stores.MongoDB
|
||||
foreach (var parent in parents)
|
||||
{
|
||||
var r = Warehouse.Get(parent);
|
||||
if (r is IAsyncReply<T>)
|
||||
rt.Add((IAsyncReply<T>)r);
|
||||
if (r is AsyncReply<T>)
|
||||
rt.Add(r);// (AsyncReply<T>)r);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user