Method DeferredAll
DeferredAll<TSource>(IQueryable<TSource>, Expression<Func<TSource, Boolean>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<bool> DeferredAll<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence whose elements to test for a condition. |
Expression<Func<TSource, System.Boolean>> | predicate | A function to test each element for a condition. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Boolean> | true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |