예제 #1
0
파일: Score.cs 프로젝트: elbandit/PPPDDD
 public Score Subtract(Score amount)
 {
     return new Score(this.Value - amount.Value);
 }
예제 #2
0
파일: Score.cs 프로젝트: elbandit/PPPDDD
 public Score Add(Score amount)
 {
     return new Score(this.Value + amount.Value);
 }