public bool Equals(CustomField other) { if (other == null) { return(false); } return(Id == other.Id && IsFilter == other.IsFilter && IsRequired == other.IsRequired && Multiple == other.Multiple && Searchable == other.Searchable && Visible == other.Visible && CustomizedType.Equals(other.CustomizedType) && DefaultValue.Equals(other.DefaultValue) && FieldFormat.Equals(other.FieldFormat) && MaxLength == other.MaxLength && MinLength == other.MinLength && Name.Equals(other.Name) && Regexp.Equals(other.Regexp) && PossibleValues.Equals(other.PossibleValues) && Roles.Equals(other.Roles) && Trackers.Equals(other.Trackers)); }