- Namespace
- Statiq
.Testing - Containing Type
- TestExecutionContext
- Implements
-
- IDocumentFactory.CreateDocument
<TDocument> , IContentProvider)
- IDocumentFactory.CreateDocument
Syntax
public TDocument CreateDocument<TDocument>(NormalizedPath source, NormalizedPath destination, IEnumerable<KeyValuePair<string, object>> items, IContentProvider contentProvider = null)
where TDocument : FactoryDocument, IDocument, new()
Type Parameters
| Name | Description |
|---|---|
| TDocument |
Parameters
| Name | Type | Description |
|---|---|---|
| source | NormalizedPath | |
| destination | NormalizedPath | |
| items | IEnumerable |
|
| contentProvider | IContentProvider |
Return Value
| Type | Description |
|---|---|
| TDocument |