コード例 #1
0
        public bool Equals(PackOptions other)
        {
            if (other == null)
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(PackageType.SequenceEqualWithNullCheck(other.PackageType) &&
                   Mappings.SequenceEqualWithNullCheck(other.Mappings) &&
                   EqualityUtility.EqualsWithNullCheck(IncludeExcludeFiles, other.IncludeExcludeFiles));
        }