示例#1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     this._type    = reader.Read <string>("Type");
     this._code    = reader.Read <string>("Code");
     this._message = reader.Read <string>("Message");
     this._detail  = reader.Read <ErrorDetail>("Detail");
 }
示例#2
0
 /// <summary>
 /// Sets the Detail property.
 /// </summary>
 /// <param name="detail">Detail property.</param>
 /// <returns>this instance.</returns>
 public Error WithDetail(ErrorDetail detail)
 {
     this._detail = detail;
     return(this);
 }