public override bool TryParse(ref string filter, out IFilterParserResultGroup result) { if (string.IsNullOrEmpty(filter)) { result = default(IFilterParserResultGroup); return(false); } result = this.Parse(filter); this.OnParsed(ref filter, 0, filter.Length); return(true); }
public override bool TryParse(ref string filter, out IFilterParserResultGroup group) { if (string.IsNullOrWhiteSpace(filter)) { group = default(IFilterParserResultGroup); return(false); } group = this.Parse(filter); this.OnParsed(ref filter, 0, filter.Length); return(true); }
public override bool TryParse(ref string filter, out IFilterParserResultGroup result) { var match = this.Regex.Match(filter); if (!match.Success) { result = default(IFilterParserResultGroup); return(false); } result = this.Parse(match); this.OnParsed(ref filter, match.Index, match.Length); return(true); }
public virtual bool Equals(IFilterParserResultGroup other) { if (other == null) { return(false); } if (object.ReferenceEquals(this, other)) { return(true); } if (!Enumerable.SequenceEqual(this.Entries, other.Entries)) { return(false); } return(true); }
public abstract bool TryParse(ref string filter, out IFilterParserResultGroup result);
public virtual bool TryParse(ref string filter, out IFilterParserResultGroup group) { throw new NotImplementedException(); }