예제 #1
0
            //public List<Guid> Guids { get; set; }
            //public List<DateTimeOffset> Dates { get; set; }

            public bool Equals(ListModel other)
            {
                return(Bools.SequenceEqual(other.Bools) &&
                       Items.SequenceEqual(other.Items) &&
                       Doubles.SequenceEqual(other.Doubles) &&
                       Strings.SequenceEqual(other.Strings) &&
                       Documents.SequenceEqual(other.Documents) &&
                       BsonObjectIds.SequenceEqual(other.BsonObjectIds) &&
                       Ints.SequenceEqual(other.Ints) &&
                       Longs.SequenceEqual(other.Longs) &&
                       //Guids.SequenceEqual(other.Guids) &&
                       //Dates.SequenceEquals(other.Dates)
                       Items.SequenceEqual(other.Items));
            }