CreateDocument<TDocument>(IDocumentFactory, NormalizedPath, IContentProvider) Method

Syntax

public static TDocument CreateDocument<TDocument>(this IDocumentFactory documentFactory, in NormalizedPath destination, IContentProvider contentProvider = null) 
    where TDocument : FactoryDocument, IDocument, new()

Type Parameters

Name Description
TDocument

Parameters

Name Type Description
documentFactory IDocumentFactory
destination NormalizedPath
contentProvider IContentProvider

Return Value

Type Description
TDocument