public bool Equals(PartitionInfoEx other) { return(other != null && PartitionId.Equals(other.PartitionId) && PartitionDbId.Equals(other.PartitionDbId) && EqualityComparer <IEnumerable <string> > .Default.Equals(DriveLetters, other.DriveLetters) && PartitionFileSystem == other.PartitionFileSystem && EqualityComparer <IList <Exception> > .Default.Equals(Exceptions, other.Exceptions) && EqualityComparer <long?> .Default.Equals(Size, other.Size)); }
public bool Equals( EnumPartitionedTestValue other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(PartitionId.Equals(other.PartitionId) && AccountId.Equals(other.AccountId) && Message == other.Message); }
protected bool Equals(InstanceIdentifier other) { return(PartitionId.Equals(other.PartitionId) && InstanceId == other.InstanceId); }