A simple document comparer that compares documents by
Id.
- Namespace
- Statiq
.Common - Interfaces
-
- IEqualityComparer
<TDocument>
- IEqualityComparer
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IEqualityComparer<TDocument>"]
Type["DocumentIdComparer<TDocument>"]
class Type type-node
Syntax
public class DocumentIdComparer<TDocument> : IEqualityComparer<TDocument>
where TDocument : IDocument
Type Parameters
| Name | Description |
|---|---|
| TDocument |
Properties
| Name | Property Type | Summary |
|---|---|---|
| Instance | DocumentIdComparer |
static
|
Methods
| Name | Return Value | Summary |
|---|---|---|
| Equals |
bool | |
| GetHashCode |
int |