Пример #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);
        }