DocumentMetadataComparer<TDocument, TValue> Class
Performs comparisons between documents using a specified metadata key and value type.
Namespace
Statiq.Common
Interfaces
Base Types
  • object
Derived Types
graph BT Type-->Base0["object"] Type-.->Interface0["IComparer<TDocument>"] Type["DocumentMetadataComparer<TDocument, TValue>"] class Type type-node Derived0["DocumentMetadataComparer<TValue>"]-->Type click Derived0 "/api/Statiq.Common/DocumentMetadataComparer_1"

Syntax

public class DocumentMetadataComparer<TDocument, TValue> : IComparer<TDocument> 
    where TDocument : IDocument

Type Parameters

Name Description
TDocument The document type.
TValue The type metadata value type.

Constructors

Methods

Name Return Value Summary
Compare(TDocument, TDocument) int

Extension Methods