Exemplo n.º 1
0
 public bool Equals(Stock other)
 {
     return(other != null &&
            IsStarted == other.IsStarted &&
            TickerID == other.TickerID &&
            Ticker == other.Ticker &&
            Type == other.Type &&
            FullName == other.FullName &&
            Prefix == other.Prefix &&
            Currency == other.Currency &&
            ISIN == other.ISIN &&
            Name == other.Name &&
            ShortName == other.ShortName &&
            ChartName == other.ChartName &&
            Decimals == other.Decimals &&
            ForgDecimals == other.ForgDecimals &&
            Open == other.Open &&
            Close == other.Close &&
            Last == other.Last &&
            LastHTML == other.LastHTML &&
            LastSize == other.LastSize &&
            LastTime == other.LastTime &&
            LastHtmlTime == other.LastHtmlTime &&
            Change == other.Change &&
            ChangePercentage == other.ChangePercentage &&
            Min == other.Min &&
            Max == other.Max &&
            DealsCount == other.DealsCount &&
            Deals.SequenceEqual(other.Deals) &&
            Traffic == other.Traffic &&
            TrafficCount == other.TrafficCount &&
            OpenInterest == other.OpenInterest &&
            Status == other.Status &&
            PanelJS == other.PanelJS &&
            ID == other.ID &&
            RealTime == other.RealTime &&
            Pe2000 == other.Pe2000 &&
            Pe2001 == other.Pe2001 &&
            CloseOneMonth == other.CloseOneMonth &&
            CloseOneMonthInterval.Equals(other.CloseOneMonthInterval) &&
            CloseThreeMonth == other.CloseThreeMonth &&
            CloseThreeMonthInterval.Equals(other.CloseThreeMonthInterval) &&
            CloseOneYear == other.CloseOneYear &&
            CloseOneYearInterval.Equals(other.CloseOneYearInterval) &&
            OneMonthVolatility == other.OneMonthVolatility &&
            ThreeMonthVolatility == other.ThreeMonthVolatility &&
            OneYearVolatility == other.OneYearVolatility &&
            Eps2000 == other.Eps2000 &&
            Eps2001 == other.Eps2001 &&
            MinOneYear == other.MinOneYear &&
            MinOneYearAt == other.MinOneYearAt &&
            MaxOneYear == other.MaxOneYear &&
            MaxOneYearAt == other.MaxOneYearAt &&
            MinOfAllTime == other.MinOfAllTime &&
            MinOfAllTimeAt == other.MinOfAllTimeAt &&
            MaxOfAllTime == other.MaxOfAllTime &&
            MaxOfAllTimeAt == other.MaxOfAllTimeAt &&
            CloseMinOneYear == other.CloseMinOneYear &&
            CloseMinOneYearAt == other.CloseMinOneYearAt &&
            CloseMaxOneYear == other.CloseMaxOneYear &&
            CloseMaxOneYearAt == other.CloseMaxOneYearAt &&
            CloseMinAllTime == other.CloseMinAllTime &&
            CloseMinAllTimeAt == other.CloseMinAllTimeAt &&
            CloseMaxOfAllTime == other.CloseMaxOfAllTime &&
            CloseMaxAllTimeAt == other.CloseMaxAllTimeAt &&
            TrafficAvgInSixMonth == other.TrafficAvgInSixMonth &&
            TrafficAvgInOneYear == other.TrafficAvgInOneYear &&
            StartCount == other.StartCount &&
            Kapit == other.Kapit &&
            BuxKapit == other.BuxKapit &&
            ChangeInOneMonth == other.ChangeInOneMonth &&
            ChangeInThreeMonth == other.ChangeInThreeMonth &&
            ChangeInOneYear == other.ChangeInOneYear &&
            StartPrice == other.StartPrice &&
            MinInOneYear == other.MinInOneYear &&
            MaxInOneYear == other.MaxInOneYear &&
            ImageData == other.ImageData);
 }