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