2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 05:23:13 +00:00
This commit is contained in:
2024-07-09 11:18:53 +03:00
parent cd7063ceb4
commit 279b5f87e6
13 changed files with 30 additions and 22 deletions

View File

@ -66,9 +66,11 @@ public class AsyncReply
public bool Ready
{
get { return resultReady; }
}
public bool Failed => exception != null;
public Exception Exception => exception;
public object Wait()
{

View File

@ -1,4 +1,5 @@
using System;
using Esiur.Misc;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
@ -27,7 +28,7 @@ public class AsyncReplyBuilder
public void SetStateMachine(IAsyncStateMachine stateMachine)
{
Console.WriteLine("SetStateMachine");
Global.Log("AsyncReplyBuilder", LogType.Debug, "SetStateMachine");
}
public void SetException(Exception exception)

View File

@ -1,4 +1,5 @@
using System;
using Esiur.Misc;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
@ -27,7 +28,7 @@ public class AsyncReplyBuilder<T>
public void SetStateMachine(IAsyncStateMachine stateMachine)
{
Console.WriteLine("SetStateMachine");
Global.Log("AsyncReplyBuilderGeneric", LogType.Debug, "SetStateMachine");
}
public void SetException(Exception exception)