Performs comparisons between documents using a specified metadata key and value type.
- Namespace
- Statiq
.Common - Interfaces
-
- IComparer
<TDocument>
- IComparer
- Base Types
-
- object
- Derived Types
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
Name | Summary |
---|---|
Document |
|
Document |
|
Document |
|
Document |
Methods
Name | Return Value | Summary |
---|---|---|
Compare |
int |