Beispiel #1
0
 public StatusInfo(string result)
 {
     Result  = new ResultInfo(result);
     IsError = false;
     Error   = null;
 }
Beispiel #2
0
 public StatusInfo(ResultInfo result)
 {
     Result  = result;
     IsError = false;
     Error   = null;
 }
Beispiel #3
0
 public StatusInfo(ErrorInfo errorInfo)
 {
     Result  = null;
     IsError = true;
     Error   = errorInfo;
 }