Exemple #1
0
 public virtual bool Equals(Money other)
 {
     return amount.Equals(other.amount);
 }
Exemple #2
0
 public static bool IsNullOrEmpty(Money money)
 {
     return money == null || money is NullMoney;
 }
Exemple #3
0
 public virtual Money Add(Money outstanding)
 {
     return new Money(amount + outstanding.amount);
 }
Exemple #4
0
 public static string AsPound(Money money)
 {
     return AsPound(money.Amount);
 }