@ -63,6 +64,7 @@ public class ExcuteResponseCommand<TResponse> : AbstractCommand where TResponse
@@ -63,6 +64,7 @@ public class ExcuteResponseCommand<TResponse> : AbstractCommand where TResponse
{
publicstringjson;
privateTResponseresponse;
privateColorprintColor=Color.white;
publicExcuteResponseCommand(TResponseresponse)
{
if(this.response==null)
@ -94,6 +96,7 @@ public class SendRequestCommand<TRequest> : AbstractCommand where TRequest : IRe
@@ -94,6 +96,7 @@ public class SendRequestCommand<TRequest> : AbstractCommand where TRequest : IRe
}
protectedoverridevoidOnExecute()
{
//此处需要修改
this.SendEvent(newRequestMsgEvent(request));
}
publicvoidsetRequest(TRequestrequest)
@ -120,22 +123,6 @@ public interface IRequest
@@ -120,22 +123,6 @@ public interface IRequest