CreateDocument<TDocument>(NormalizedPath, NormalizedPath, IEnumerable<KeyValuePair<string, object>>, IContentProvider) Method
Namespace
Statiq.Common
Containing Type
DocumentFactory
Implements

Syntax

public virtual TDocument CreateDocument<TDocument>(NormalizedPath source, NormalizedPath destination, IEnumerable<KeyValuePair<string, object>> items, IContentProvider contentProvider) 
    where TDocument : FactoryDocument, IDocument, new()

Type Parameters

Name Description
TDocument

Parameters

Name Type Description
source NormalizedPath
destination NormalizedPath
items IEnumerable<KeyValuePair<string, object>>
contentProvider IContentProvider

Return Value

Type Description
TDocument