Пример #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));
 }
Пример #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));
 }
Пример #4
0
 protected internal virtual Expression VisitField(FieldExpression node)
 {
     return(node);
 }
Пример #5
0
 protected override Expression VisitField(FieldExpression node)
 {
     _fields.Add(node);
     return(node);
 }