private ComparisonReducer generateComparisonReducer() { var propInfo = new PropertyInfoProvider(); var propExpFac = new PropertyExpressionFactory(propInfo); return(new ComparisonReducer( new ComparisonProcessor(), new PropertyProcessor(propInfo, new PropertyExpressionFactory(propInfo)), new ValueProcessor(), new NotNullExpressionProcessor(propExpFac) )); }
private static ILogicalReducer BuildLogicalReducer() { var propertyInfo = new PropertyInfoProvider(); var propertyExpFac = new PropertyExpressionFactory(propertyInfo); return(new LogicalReducer( new ComparisonReducer( new ComparisonProcessor(), new PropertyProcessor(propertyInfo, propertyExpFac), new ValueProcessor(), new NotNullExpressionProcessor(propertyExpFac)), new UnaryProcessor(), new LogicalProcessor())); }