Click or drag to resize

BTreeExtensionsWhereKey Method

Override to improve performance over IEnumerable LINQ extension

Namespace:  VelocityDb.Collection.BTree.Extensions
Assembly:  VelocityDb (in VelocityDb.dll) Version: 8.2.1.0 (8.2.1)
Syntax
public static IEnumerable<Key> Where<Key>(
	this BTreeBase<Key, Key> sourceCollection,
	Expression<Func<Key, bool>> expr
)

Parameters

sourceCollection
Type: VelocityDb.Collection.BTreeBTreeBaseKey, Key
the collection
expr
Type: System.Linq.ExpressionsExpressionFuncKey, Boolean
an expression

Type Parameters

Key
key type

Return Value

Type: IEnumerableKey
Enumeration of collection where the expression evaluates to true

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BTreeBaseKey, Key. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also