public bool DeepEquals(ConVpxJobInfo other) { if (object.ReferenceEquals(null, other)) { return(false); } return(object.ReferenceEquals(this, other) || (((((Helpers.AreEqual2 <string>(this.JobId, other.JobId) && Helpers.AreEqual2 <string>(this.Title, other.Title)) && (Helpers.AreEqual2 <string>(this.Description, other.Description) && Helpers.AreEqual2 <DateTime>(this.CreatedDateTime, other.CreatedDateTime))) && ((Helpers.AreEqual2 <DateTime>(this.StartDateTime, other.StartDateTime) && Helpers.AreEqual2 <DateTime>(this.CompletedDateTime, other.CompletedDateTime)) && (Helpers.AreEqual2 <string>(this.StateDescription, other.StateDescription) && Helpers.AreEqual2 <string>(this.StateDisplay, other.StateDisplay)))) && (((Helpers.AreEqual2 <string>(this.SourceVMName, other.SourceVMName) && Helpers.AreEqual2 <string>(this.Destination, other.Destination)) && (Helpers.AreEqual2 <string>(this.TargetSR, other.TargetSR) && Helpers.AreEqual2 <long>(this.CompressedBytesRead, other.CompressedBytesRead))) && ((Helpers.AreEqual2 <long>(this.UncompressedBytesWritten, other.UncompressedBytesWritten) && Helpers.AreEqual2 <long>(this.PercentComplete, other.PercentComplete)) && Helpers.AreEqual2 <string>(this.ErrorMessage, other.ErrorMessage)))) && Helpers.AreEqual2 <string>(this.Source, other.Source))); }
public override bool Equals(object other) { ConVpxJobInfo info = other as ConVpxJobInfo; return(this.DeepEquals(info)); }