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)
Syntaxpublic static IEnumerable<Key> Where<Key>(
this BTreeBase<Key, Key> sourceCollection,
Expression<Func<Key, bool>> expr
)
<ExtensionAttribute>
Public Shared Function Where(Of Key) (
sourceCollection As BTreeBase(Of Key, Key),
expr As Expression(Of Func(Of Key, Boolean))
) As IEnumerable(Of Key)
public:
[ExtensionAttribute]
generic<typename Key>
static IEnumerable<Key>^ Where(
BTreeBase<Key, Key>^ sourceCollection,
Expression<Func<Key, bool>^>^ expr
)
[<ExtensionAttribute>]
static member Where :
sourceCollection : BTreeBase<'Key, 'Key> *
expr : Expression<Func<'Key, bool>> -> IEnumerable<'Key>
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:
IEnumerableKeyEnumeration 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