CloneOrCreateDocument(IExecutionContext, IDocument, NormalizedPath, IEnumerable<KeyValuePair<string, object>>, string, string) Method

Syntax

public static IDocument CloneOrCreateDocument(this IExecutionContext context, IDocument document, NormalizedPath destination, IEnumerable<KeyValuePair<string, object>> items, string content, string mediaType = null)

Parameters

Name Type Description
context IExecutionContext
document IDocument
destination NormalizedPath
items IEnumerable<KeyValuePair<string, object>>
content string
mediaType string

Return Value

Type Description
IDocument