/// <summary> /// Determines whether the specified <paramref name="other"/> descriptor /// is equal to the current one. /// </summary> /// <param name="other">The other filter descriptor.</param> /// <returns> /// True if all members of the current descriptor are /// equal to the ones of <paramref name="other"/>, otherwise false. /// </returns> public virtual bool Equals(FilterDescriptor other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (Equals(other.Operator, this.Operator) && Equals(other.Member, this.Member) && Equals(other.Value, this.Value)); }
/// <summary> /// Determines whether the specified <paramref name="other"/> descriptor /// is equal to the current one. /// </summary> /// <param name="other">The other filter descriptor.</param> /// <returns> /// True if all members of the current descriptor are /// equal to the ones of <paramref name="other"/>, otherwise false. /// </returns> public virtual bool Equals(FilterDescriptor other) { if (ReferenceEquals(null, other)) { return false; } if (ReferenceEquals(this, other)) { return true; } return Equals(other.Operator, this.Operator) && Equals(other.Member, this.Member) && Equals(other.Value, this.Value); }
private static void ConvertFilterItemToCondition(Kendo.Mvc.FilterDescriptor filterItemDescriptor) { }