Esempio n. 1
0
 public bool IsSatisfy(Element element)
 {
     if (_condition.IsReverse) {
         return !CommonProcessing.GetViewName(element).StartsWith(_condition.Content);
     }
     else {
         return CommonProcessing.GetViewName(element).StartsWith(_condition.Content);
     }
 }
Esempio n. 2
0
 public bool IsSatisfy(Element element)
 {
     if (_condition.IsReverse)
     {
         return(!CommonProcessing.GetViewName(element).Contains(_condition.Content));
     }
     else
     {
         return(CommonProcessing.GetViewName(element).Contains(_condition.Content));
     }
 }