Esempio n. 1
0
 protected override Expression VisitField(FieldExpression node)
 {
     if (!_includeProjectedFields && node.IsProjected)
     {
         Visit(node.Expression);
     }
     else
     {
         _fields.Add(node);
     }
     return(node);
 }
 protected internal virtual Expression VisitField(FieldExpression node)
 {
     return(node.Update(
                Visit(node.Document),
                node.Original));
 }
Esempio n. 3
0
 private bool CompareField(FieldExpression a, FieldExpression b)
 {
     return(a.FieldName == b.FieldName &&
            a.Serializer.GetType() == b.Serializer.GetType() &&
            Compare(a.Original, b.Original));
 }
Esempio n. 4
0
 protected internal virtual Expression VisitField(FieldExpression node)
 {
     return(node);
 }
Esempio n. 5
0
 protected override Expression VisitField(FieldExpression node)
 {
     _fields.Add(node);
     return(node);
 }