Example #1
0
 /// <summary>
 /// CTOR - use the inner command's success ad description
 /// </summary>
 /// <param name="innerResult"></param>
 public ReturnResult(ReturnResultBase innerResult) : base(innerResult)
 {
     success          = innerResult.Success;
     errorDescription = innerResult.ErrorDescription;
 }
Example #2
0
 /// <summary>
 /// CTOR
 /// </summary>
 /// <param name="innerResult"></param>
 public ReturnResultBase(ReturnResultBase innerResult)
 {
     InnerResult = innerResult;
 }
Example #3
0
 /// <summary>
 /// CTOR with inner result and description
 /// </summary>
 public ReturnResult(String errorDescription, ReturnResultBase innerResult)
     : base(innerResult)
 {
     success = false;
     this.errorDescription = errorDescription;
 }