CreateDocument<TDocument>(IExecutionContext, NormalizedPath, NormalizedPath, string, string) Method

Syntax

public static TDocument CreateDocument<TDocument>(this IExecutionContext context, NormalizedPath source, NormalizedPath destination, string content, string mediaType = null) 
    where TDocument : FactoryDocument, IDocument, new()

Type Parameters

Name Description
TDocument

Parameters

Name Type Description
context IExecutionContext
source NormalizedPath
destination NormalizedPath
content string
mediaType string

Return Value

Type Description
TDocument