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