示例#1
0
 internal FilteringInfo()
 {
     ProductVersionCondition = new FilteringCondition();
     FileVersionCondition    = new FilteringCondition();
     FilePathCondition       = new FilteringCondition();
     SignatureCondition      = new FilteringCondition();
     AssemblyCondition       = new FilteringCondition();
 }
示例#2
0
        private bool IsHighlightCondition(FilteringCondition condition, string value)
        {
            foreach (string filter in condition.EntityHighlignt)
            {
                if (ContainsWithPattern(value, filter))
                {
                    return(true);
                }
            }

            return(false);
        }
示例#3
0
        private bool IsValuePassCondition(FilteringCondition condition, string value)
        {
            foreach (string filter in condition.EntityInclude)
            {
                if (!ContainsWithPattern(value, filter))
                {
                    return(false);
                }
            }

            return(true);
        }