示例#1
0
 public VeeamDataResult(TData?value, VeeamError errorInfo = new VeeamError())
 {
     HasValue  = value != null;
     Value     = value;
     ErrorInfo = errorInfo;
 }
示例#2
0
 public VeeamDataResult(VeeamError errorInfo)
     : this(value : null, errorInfo : errorInfo)
 {
 }
示例#3
0
 public VeeamResult(bool isSuccess, VeeamError errorInfo)
 {
     IsSuccess = isSuccess;
     ErrorInfo = errorInfo;
 }