[]
Finds an index in the collection by its key selector.
public Index<T> Find(LambdaExpression keySelector)
| Type | Name | Description |
|---|---|---|
| LambdaExpression | keySelector | Key selector expression of an index, see KeySelector. |
| Type | Description |
|---|---|
| Index<T> | An index with the given key selector, if it is found; otherwise, null. |
Finds an index in the collection by its key selector.
public Index<T, TKey> Find<TKey>(Expression<Func<T, TKey>> keySelector)
| Type | Name | Description |
|---|---|---|
| Expression<Func<T, TKey>> | keySelector | Key selector expression of an index, see KeySelector. |
| Type | Description |
|---|---|
| Index<T, TKey> | An index with the given key selector, if it is found; otherwise, null. |
| Name | Description |
|---|---|
| TKey | The type of the index key. |