Exemplo n.º 1
0
 private string GetHintPanelText(FiltersByCollectionWrapper filtersByCollectionWrapper, CriteriaOperator criteriaOperator)
 {
     if (!(ReferenceEquals(criteriaOperator, null)))
     {
         var wrapper = new LocalizedCriteriaWrapper(filtersByCollectionWrapper.BinaryOperatorLastMemberClassType, criteriaOperator);
         wrapper.UpdateParametersValues();
         CriteriaOperator userFriendlyFilter = CriteriaOperator.Clone(wrapper.CriteriaOperator);
         new FilterWithObjectsUserFrendlyStringProcessor(filtersByCollectionWrapper.BinaryOperatorLastMemberClassType).Process(userFriendlyFilter);
         return(userFriendlyFilter.ToString());
     }
     return(null);
 }
Exemplo n.º 2
0
 private DataServiceQueryTranslator(CriteriaOperator filter)
 {
     _filter = CriteriaOperator.Clone(filter);
 }
Exemplo n.º 3
0
 public DataServiceQueryExpressVisitor(CriteriaOperator filter)
 {
     _filter = CriteriaOperator.Clone(filter);
 }