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

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

            return(Include.SequenceEqualWithNullCheck(Include) &&
                   Exclude.SequenceEqualWithNullCheck(Exclude) &&
                   IncludeFiles.SequenceEqualWithNullCheck(IncludeFiles) &&
                   ExcludeFiles.SequenceEqualWithNullCheck(ExcludeFiles));
        }