コード例 #1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _height = reader.Read <DimensionMeasure>("Height");
     _width  = reader.Read <DimensionMeasure>("Width");
     _length = reader.Read <DimensionMeasure>("Length");
     _weight = reader.Read <WeightMeasure>("Weight");
 }
コード例 #2
0
 /// <summary>
 /// Sets the Width property.
 /// </summary>
 /// <param name="width">Width property.</param>
 /// <returns>this instance.</returns>
 public ItemDimensions WithWidth(DimensionMeasure width)
 {
     this._width = width;
     return(this);
 }
コード例 #3
0
 /// <summary>
 /// Sets the Height property.
 /// </summary>
 /// <param name="height">Height property.</param>
 /// <returns>this instance.</returns>
 public ItemDimensions WithHeight(DimensionMeasure height)
 {
     this._height = height;
     return(this);
 }
コード例 #4
0
 /// <summary>
 /// Sets the Length property.
 /// </summary>
 /// <param name="length">Length property.</param>
 /// <returns>this instance.</returns>
 public ItemDimensions WithLength(DimensionMeasure length)
 {
     this._length = length;
     return(this);
 }