- Namespace
- Statiq
.Common - Containing Type
- I
Enumerable Extensions
Syntax
public static T GetPrevious<T>(this IEnumerable<T> source, T item, IEqualityComparer<T> comparer)
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| source | IEnumerable |
|
| item | T | |
| comparer | IEqualityComparer |
Return Value
| Type | Description |
|---|---|
| T |