コード例 #1
0
        public virtual void ProcessActualResponse(IActualResponse response)
        {
            Parameter.ThrowIfNull(response, nameof(response));
            CommandResponseValue commandResponse = response.Convert <CommandResponseValue>();

            Parameter.ThrowIfNull(commandResponse, nameof(commandResponse));
            this.Success = commandResponse.success;
            this.Message = commandResponse.message;
        }
コード例 #2
0
 public override void ProcessActualResponse(IActualResponse response)
 {
     base.ProcessActualResponse(response);
     this.ActualResponse = response.Convert <R>();
 }
コード例 #3
0
 public virtual void ProcessActualResponse(IActualResponse response)
 {
     this.ActualEvent = response.Convert <T>();
 }