コード例 #1
0
 internal Inventory SetRounder(IRoundingCommand command)
 {
     this._rounder = command;
     return(new Inventory(v, command));
 }
コード例 #2
0
 private Inventory(double v, IRoundingCommand command)
 {
     this.v        = v;
     this._rounder = command;
 }