DocumentIdComparer<TDocument> Class
A simple document comparer that compares documents by Id.
Namespace
Statiq.Common
Interfaces
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<TDocument>
static

Methods

Name Return Value Summary
Equals(TDocument, TDocument) bool
GetHashCode(TDocument) int

Extension Methods