Example #1
0
        public bool Equals(PhotoAttributes other)
        {
            if (other == null)
            {
                return(false);
            }

            bool match = DateTimeExtensions.Equals(DateShutter, other.DateShutter, DateTimeExtensions.Field.SecondAndAbove) &&
                         FocalLength.Equals(other.FocalLength) &&
                         ExposureTime.Equals(other.ExposureTime) &&
                         FNumber.EqualsWithError(other.FNumber, 0.1);

            return(match);
        }