- Namespace
- Statiq
.Common - Containing Type
- I
Document Factory Create Document Extensions
Syntax
public static IDocument CloneOrCreateDocument(this IDocumentFactory documentFactory, IDocument document, in NormalizedPath destination, IEnumerable<KeyValuePair<string, object>> items, IContentProvider contentProvider = null)
Parameters
Name | Type | Description |
---|---|---|
documentFactory | IDocumentFactory | |
document | IDocument | |
destination | NormalizedPath | |
items | IEnumerable |
|
contentProvider | IContentProvider |
Return Value
Type | Description |
---|---|
IDocument |