示例#1
0
 protected bool Equals(Transaction other)
 {
     return(Id == other.Id &&
            TransactionDate.Equals(other.TransactionDate) &&
            Created.Equals(other.Created) &&
            string.Equals(Payee, other.Payee) &&
            string.Equals(Reference, other.Reference) &&
            Amount == other.Amount);
 }
示例#2
0
 protected bool Equals(Transaction other)
 {
     return(lines.SequenceEqual(other.lines) && string.Equals(Id, other.Id) && TransactionDate.Equals(other.TransactionDate) && string.Equals(Username, other.Username) && string.Equals(Description, other.Description) && string.Equals(TransactionType, other.TransactionType));
 }
示例#3
0
 public bool Equals(TransactionItem obj)
 {
     return(TransactionDate.Equals(obj.TransactionDate) && Amount.Equals(obj.Amount) &&
            Description.Equals(obj.Description));
 }