Example #1
0
 public virtual bool Equals(IFilterParserResultEntry other)
 {
     if (other == null)
     {
         return(false);
     }
     if (object.ReferenceEquals(this, other))
     {
         return(true);
     }
     if (!string.Equals(this.Name, other.Name, StringComparison.OrdinalIgnoreCase))
     {
         return(false);
     }
     if (this.Operator != other.Operator)
     {
         return(false);
     }
     if (!string.Equals(this.Value, other.Value, StringComparison.OrdinalIgnoreCase))
     {
         return(false);
     }
     return(true);
 }
Example #2
0
 public FilterParserResultGroup(IFilterParserResultEntry entry)
 {
     this.Entries = new[] { entry };
 }