Exemplo n.º 1
0
 public AccountLine(string date, string reference, string type, string desc, string amount, SimpleMoney actualAmount, string accountName)
 {
     // TODO: Complete member initialization
     this.Date = date;
     this.Reference = reference;
     this.Type = type;
     this.Desc = desc;
     this.Amount = amount;
     this.ActualAmount = actualAmount;
     this.AccountName = accountName;
 }
Exemplo n.º 2
0
        public override bool Equals(object obj)
        {
            SimpleMoney other = obj as SimpleMoney;

            if (other == null)
            {
                return(base.Equals(obj));
            }

            return(Kroner == other.Kroner && Ears == other.Ears);
        }