public bool Equals(FileFingerprint other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(FullFilePath, other.FullFilePath, StringComparison.OrdinalIgnoreCase) && LastModifiedUtc.Equals(other.LastModifiedUtc) && Fingerprint.Equals(other.Fingerprint)); }
public bool Equals(FileRef other) { return(string.Equals(Path, other.Path) && LastModifiedUtc.Equals(other.LastModifiedUtc) && Bytes == other.Bytes); }