CreateDocument<TDocument>(IDocumentFactory, IEnumerable<KeyValuePair<string, object>>, IContentProvider) Method

Syntax

public static TDocument CreateDocument<TDocument>(this IDocumentFactory documentFactory, IEnumerable<KeyValuePair<string, object>> items, IContentProvider contentProvider = null) 
    where TDocument : FactoryDocument, IDocument, new()

Type Parameters

Name Description
TDocument

Parameters

Name Type Description
documentFactory IDocumentFactory
items IEnumerable<KeyValuePair<string, object>>
contentProvider IContentProvider

Return Value

Type Description
TDocument