Example #1
0
 private void HandleWhereCall(MethodCallExpression call)
 {
     WhereArgumentsVisitor.GetCriterion(_type, _contentQuery, call.Arguments[1]);
 }
Example #2
0
        public static void GetCriterion(ContentTypeDefinition type, IContentQuery <ContentItem> contentQuery, Expression expression)
        {
            WhereArgumentsVisitor visitor = new WhereArgumentsVisitor(type, contentQuery);

            visitor.Visit(expression);
        }
 public static void GetCriterion(ContentTypeDefinition type, IContentQuery<ContentItem> contentQuery, Expression expression) {
     WhereArgumentsVisitor visitor = new WhereArgumentsVisitor(type, contentQuery);
     visitor.Visit(expression);
     
 }