Пример #1
0
 private DeviceConnectionResponse(bool success, DeviceConnectionException ex = null)
 {
     this.IsSuccess = success;
     this.Error     = ex;
 }
 private DeviceConnectionResponse (bool success, DeviceConnectionException ex = null)
 {
     this.IsSuccess = success;
     this.Error = ex;
 }
Пример #3
0
 public static DeviceConnectionResponse Failure(DeviceConnectionException ex)
 {
     return(new DeviceConnectionResponse(false, ex));
 }
 public static DeviceConnectionResponse Failure(DeviceConnectionException ex)
 {
     return new DeviceConnectionResponse(false, ex);
 }