/// <summary> /// Returns true if OrderRunnerChange instances are equal /// </summary> /// <param name="other">Instance of OrderRunnerChange to be compared</param> /// <returns>Boolean</returns> public bool Equals(OrderRunnerChange other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) { return(false); } return((Mb == other.Mb || Mb != null && Mb.SequenceEqual(other.Mb)) && (Uo == other.Uo || Uo != null && Uo.SequenceEqual(other.Uo)) && (Id == other.Id || Id != null && Id.Equals(other.Id)) && (Hc == other.Hc || Hc != null && Hc.Equals(other.Hc)) && (FullImage == other.FullImage || FullImage != null && FullImage.Equals(other.FullImage)) && (Ml == other.Ml || Ml != null && Ml.SequenceEqual(other.Ml))); }
/// <summary> /// Returns true if RunnerDefinition instances are equal /// </summary> /// <param name="other">Instance of RunnerDefinition to be compared</param> /// <returns>Boolean</returns> public bool Equals(RunnerDefinition other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) { return(false); } return((SortPriority == other.SortPriority || SortPriority != null && SortPriority.Equals(other.SortPriority)) && (RemovalDate == other.RemovalDate || RemovalDate != null && RemovalDate.Equals(other.RemovalDate)) && (Id == other.Id || Id != null && Id.Equals(other.Id)) && (Hc == other.Hc || Hc != null && Hc.Equals(other.Hc)) && (AdjustmentFactor == other.AdjustmentFactor || AdjustmentFactor != null && AdjustmentFactor.Equals(other.AdjustmentFactor)) && (Bsp == other.Bsp || Bsp != null && Bsp.Equals(other.Bsp)) && (Status == other.Status || Status != null && Status.Equals(other.Status))); }
/// <summary> /// Returns true if RunnerChange instances are equal /// </summary> /// <param name="other">Instance of RunnerChange to be compared</param> /// <returns>Boolean</returns> public bool Equals(RunnerChange other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) { return(false); } return((Tv == other.Tv || Tv != null && Tv.Equals(other.Tv)) && (Batb == other.Batb || Batb != null && Batb.SequenceEqual(other.Batb)) && (Spb == other.Spb || Spb != null && Spb.SequenceEqual(other.Spb)) && (Bdatl == other.Bdatl || Bdatl != null && Bdatl.SequenceEqual(other.Bdatl)) && (Trd == other.Trd || Trd != null && Trd.SequenceEqual(other.Trd)) && (Spf == other.Spf || Spf != null && Spf.Equals(other.Spf)) && (Ltp == other.Ltp || Ltp != null && Ltp.Equals(other.Ltp)) && (Atb == other.Atb || Atb != null && Atb.SequenceEqual(other.Atb)) && (Spl == other.Spl || Spl != null && Spl.SequenceEqual(other.Spl)) && (Spn == other.Spn || Spn != null && Spn.Equals(other.Spn)) && (Atl == other.Atl || Atl != null && Atl.SequenceEqual(other.Atl)) && (Batl == other.Batl || Batl != null && Batl.SequenceEqual(other.Batl)) && (Id == other.Id || Id != null && Id.Equals(other.Id)) && (Hc == other.Hc || Hc != null && Hc.Equals(other.Hc)) && (Bdatb == other.Bdatb || Bdatb != null && Bdatb.SequenceEqual(other.Bdatb))); }