예제 #1
0
 public static string ConvertToString(ComplexFilterOperator.Types operation)
 {
     switch (operation)
     {
         case Types.And:
             return "AND";
         case Types.Or:
             return "OR";
         default:
             break;
     }
     return null;
 }
예제 #2
0
 public ComplexFilter(IFilter firstFilter, IFilter secondFilter, ComplexFilterOperator.Types operation)
 {
     FirstFilter = firstFilter;
     SecondFilter = secondFilter;
     Operation = operation;
 }