public override int GetHashCode() { unchecked { var hashCode = DateTime.GetHashCode(); hashCode = (hashCode * 397) ^ (InternalNumber != null ? InternalNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CoCode != null ? CoCode.GetHashCode() : 0); hashCode = (hashCode * 397) ^ CdCode.GetHashCode(); hashCode = (hashCode * 397) ^ (Duration != null ? Duration.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Cost != null ? Cost.GetHashCode() : 0); return(hashCode); } }
protected bool Equals(CdCode other) { return(Value == other.Value); }
protected bool Equals(CallData other) { return(DateTime.Equals(other.DateTime) && Equals(InternalNumber, other.InternalNumber) && Equals(CoCode, other.CoCode) && CdCode.Equals(other.CdCode) && Equals(Duration, other.Duration) && Equals(Cost, other.Cost)); }