internal FilteringInfo() { ProductVersionCondition = new FilteringCondition(); FileVersionCondition = new FilteringCondition(); FilePathCondition = new FilteringCondition(); SignatureCondition = new FilteringCondition(); AssemblyCondition = new FilteringCondition(); }
private bool IsHighlightCondition(FilteringCondition condition, string value) { foreach (string filter in condition.EntityHighlignt) { if (ContainsWithPattern(value, filter)) { return(true); } } return(false); }
private bool IsValuePassCondition(FilteringCondition condition, string value) { foreach (string filter in condition.EntityInclude) { if (!ContainsWithPattern(value, filter)) { return(false); } } return(true); }