Method All
All<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>, IEnumerable<TValue>)
Tests that the named array element contains all of the values (see $all).
public IMongoQuery All<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>> memberExpression, IEnumerable<TValue> values)
Parameters
memberExpressionExpression<Func<TDocument, IEnumerable<TValue>>>The member expression representing the element to test.
valuesIEnumerable<TValue>The values to compare to.
Returns
- IMongoQuery
An IMongoQuery.
Type Parameters
TValueThe type of the enumerable member values.