Пример #1
0
 protected bool Equals(Order other)
 {
     return(base.Equals(other) &&
            Type == other.Type &&
            SellerAgentAddress.Equals(other.SellerAgentAddress) &&
            SellerAvatarAddress.Equals(other.SellerAvatarAddress) &&
            Price.Equals(other.Price) &&
            ItemSubType == other.ItemSubType);
 }
Пример #2
0
 protected bool Equals(PurchaseInfo other)
 {
     return(OrderId.Equals(other.OrderId) &&
            TradableId.Equals(other.TradableId) &&
            SellerAgentAddress.Equals(other.SellerAgentAddress) &&
            SellerAvatarAddress.Equals(other.SellerAvatarAddress) &&
            ItemSubType == other.ItemSubType &&
            Price.Equals(other.Price));
 }