IdEquals(IDocument, IDocument) Method
Determines if a document is equal by comparing their IDs.
Namespace
Statiq.Common
Containing Type
IDocumentExtensions

Syntax

public static bool IdEquals(this IDocument document, IDocument other)

Parameters

Name Type Description
document IDocument The first document.
other IDocument The second document.

Return Value

Type Description
bool true if the documents have the same ID (they come from the same initial document), false otherwise.