ArchiveKeyComparer Field
An IEqualityComparer<object> to use for comparing archive groups.
Namespace
Statiq.Web
Containing Type
WebKeys
Field Type
string

Syntax

public const string ArchiveKeyComparer

Remarks

A scripted metadata value can be used to return the appropriate comparer and the ToConvertingEqualityComparer<T>(IEqualityComparer<T>) extension method can be used to convert a typed comparer into a IEqualityComparer<object>. For example, to ignore case when generating an archive for tags, you can use ArchiveKeyComparer: => StringComparer.OrdinalIgnoreCase.ToConvertingEqualityComparer().

Constant Value

Value Type
ArchiveKeyComparer String