Example #1
0
 public bool Equals(Asset other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) && Slug == other.Slug && Supply.Equals(other.Supply) &&
            MarketCap.Equals(other.MarketCap) && Price.Equals(other.Price) &&
            Volume.Equals(other.Volume) && Change.Equals(other.Change) &&
            Change1Hour.Equals(other.Change1Hour) && Change1Week.Equals(other.Change1Week) &&
            AllTimeHigh.Equals(other.AllTimeHigh) && AllTimeLow.Equals(other.AllTimeLow) &&
            EarliestKnownPrice.Equals(other.EarliestKnownPrice) &&
            EarliestTradeDate.Equals(other.EarliestTradeDate) && Equals(Logo, other.Logo));
 }