GetPrevious<T>(IEnumerable<T>, T, IEqualityComparer<T>) Method
Namespace
Statiq.Common
Containing Type
IEnumerableExtensions

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<T>
item T
comparer IEqualityComparer<T>

Return Value

Type Description
T