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)); }
/// <summary> /// /// </summary> /// <param name="other"></param> /// <returns></returns> 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 && string.Equals(CustomizedType, other.CustomizedType, StringComparison.OrdinalIgnoreCase) && string.Equals(DefaultValue, other.DefaultValue, StringComparison.OrdinalIgnoreCase) && string.Equals(FieldFormat, other.FieldFormat, StringComparison.OrdinalIgnoreCase) && MaxLength == other.MaxLength && MinLength == other.MinLength && string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase) && string.Equals(Regexp, other.Regexp, StringComparison.OrdinalIgnoreCase) && PossibleValues.Equals(other.PossibleValues) && Roles.Equals(other.Roles) && Trackers.Equals(other.Trackers)); }