Click or drag to resize

MongoEnumerable Class

Enumerable Extensions for MongoDB.
Inheritance Hierarchy
System.Object
  MongoDB.Driver.Linq.MongoEnumerable

Namespace:  MongoDB.Driver.Linq
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public static class MongoEnumerable

The MongoEnumerable type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAllElements<TSource>
Represents all elements in an array (corresponds to the server's "$[]" update operator).
Public methodStatic memberAllMatchingElements<TSource>
Represents all matching elements in an array when using an array filter (corresponds to the server's "$[identifier]" update operator).
Public methodStatic memberBottom<TSource, TResult>
Returns the bottom result.
Public methodStatic memberBottomN<TSource, TResult>(IEnumerable<TSource>, SortDefinition<TSource>, Func<TSource, TResult>, Int32)
Returns the bottom n results.
Public methodStatic memberBottomN<TSource, TKey, TResult>(IEnumerable<TSource>, SortDefinition<TSource>, Func<TSource, TResult>, TKey, Func<TKey, Int32>)
Returns the bottom n results.
Public methodStatic memberFirstMatchingElement<TSource>
Represents the first matching element in an array used in a query (corresponds to the server's "$" update operator).
Public methodStatic memberFirstN<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>, Int32)
Returns the first n results.
Public methodStatic memberFirstN<TSource, TKey, TResult>(IEnumerable<TSource>, Func<TSource, TResult>, TKey, Func<TKey, Int32>)
Returns the first n results.
Public methodStatic memberLastN<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>, Int32)
Returns the last n results.
Public methodStatic memberLastN<TSource, TKey, TResult>(IEnumerable<TSource>, Func<TSource, TResult>, TKey, Func<TKey, Int32>)
Returns the last n results.
Public methodStatic memberMaxN<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>, Int32)
Returns the max n results.
Public methodStatic memberMaxN<TSource, TKey, TResult>(IEnumerable<TSource>, Func<TSource, TResult>, TKey, Func<TKey, Int32>)
Returns the max n results.
Public methodStatic memberMinN<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>, Int32)
Returns the min n results.
Public methodStatic memberMinN<TSource, TKey, TResult>(IEnumerable<TSource>, Func<TSource, TResult>, TKey, Func<TKey, Int32>)
Returns the min n results.
Public methodStatic memberStandardDeviationPopulation(IEnumerable<Decimal>)
Computes the population standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationPopulation(IEnumerable<Double>)
Computes the population standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationPopulation(IEnumerable<Int32>)
Computes the population standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationPopulation(IEnumerable<Int64>)
Computes the population standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationPopulation(IEnumerable<Nullable<Decimal>>)
Computes the population standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationPopulation(IEnumerable<Nullable<Double>>)
Computes the population standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationPopulation(IEnumerable<Nullable<Int32>>)
Computes the population standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationPopulation(IEnumerable<Nullable<Int64>>)
Computes the population standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationPopulation(IEnumerable<Nullable<Single>>)
Computes the population standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationPopulation(IEnumerable<Single>)
Computes the population standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationPopulation<TSource>(IEnumerable<TSource>, Func<TSource, Decimal>)
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationPopulation<TSource>(IEnumerable<TSource>, Func<TSource, Double>)
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationPopulation<TSource>(IEnumerable<TSource>, Func<TSource, Int32>)
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationPopulation<TSource>(IEnumerable<TSource>, Func<TSource, Int64>)
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationPopulation<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Decimal>>)
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationPopulation<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Double>>)
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationPopulation<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int32>>)
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationPopulation<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int64>>)
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationPopulation<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Single>>)
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationPopulation<TSource>(IEnumerable<TSource>, Func<TSource, Single>)
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationSample(IEnumerable<Decimal>)
Computes the sample standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationSample(IEnumerable<Double>)
Computes the sample standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationSample(IEnumerable<Int32>)
Computes the sample standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationSample(IEnumerable<Int64>)
Computes the sample standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationSample(IEnumerable<Nullable<Decimal>>)
Computes the sample standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationSample(IEnumerable<Nullable<Double>>)
Computes the sample standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationSample(IEnumerable<Nullable<Int32>>)
Computes the sample standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationSample(IEnumerable<Nullable<Int64>>)
Computes the sample standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationSample(IEnumerable<Nullable<Single>>)
Computes the sample standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationSample(IEnumerable<Single>)
Computes the sample standard deviation of a sequence of values.
Public methodStatic memberStandardDeviationSample<TSource>(IEnumerable<TSource>, Func<TSource, Decimal>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationSample<TSource>(IEnumerable<TSource>, Func<TSource, Double>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationSample<TSource>(IEnumerable<TSource>, Func<TSource, Int32>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationSample<TSource>(IEnumerable<TSource>, Func<TSource, Int64>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationSample<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Decimal>>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationSample<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Double>>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationSample<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int32>>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationSample<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int64>>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationSample<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Single>>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberStandardDeviationSample<TSource>(IEnumerable<TSource>, Func<TSource, Single>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberTop<TSource, TResult>
Returns the top n results.
Public methodStatic memberTopN<TSource, TResult>(IEnumerable<TSource>, SortDefinition<TSource>, Func<TSource, TResult>, Int32)
Returns the top n results.
Public methodStatic memberTopN<TSource, TKey, TResult>(IEnumerable<TSource>, SortDefinition<TSource>, Func<TSource, TResult>, TKey, Func<TKey, Int32>)
Returns the top n results.
Public methodStatic memberWhere<TSource>
Filters a sequence of values based on a predicate and limits the number of results.
Top
See Also