// override object.Equals public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } CollectionE c = (CollectionE)obj; return(Type == c.Type && Name.EqualsExT(c.Name) && NameCn.EqualsExT(c.NameCn) && Collects.SequenceEqualExT(c.Collects)); }
// override object.Equals public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } Mono c = (Mono)obj; return(base.Equals(obj) && NameCn.EqualsExT(c.NameCn) && Comment == c.Comment && Collects == c.Collects); }
// override object.Equals public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } SubjectBase s = (SubjectBase)obj; return(Id == s.Id && Type == s.Type && AirWeekday == s.AirWeekday && Url.EqualsExT(s.Url) && Name.EqualsExT(s.Name) && NameCn.EqualsExT(s.NameCn) && Summary.EqualsExT(s.Summary) && AirDate.EqualsExT(s.AirDate) && Images.EqualsExT(s.Images)); }
// override object.Equals public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } Episode e = (Episode)obj; return(Id == e.Id && Type == e.Type && Sort == e.Sort && Comment == e.Comment && Url.EqualsExT(e.Url) && Name.EqualsExT(e.Name) && NameCn.EqualsExT(e.NameCn) && Duration.EqualsExT(e.Duration) && AirDate.EqualsExT(e.AirDate) && Desc.EqualsExT(e.Desc) && Status.EqualsExT(e.Status)); }