CloneOrCreateDocument(IExecutionContext, IDocument, NormalizedPath, string, string) Method

Syntax

public static IDocument CloneOrCreateDocument(this IExecutionContext context, IDocument document, NormalizedPath destination, string content, string mediaType = null)

Parameters

Name Type Description
context IExecutionContext
document IDocument
destination NormalizedPath
content string
mediaType string

Return Value

Type Description
IDocument