CreateDocument(IExecutionContext, IEnumerable<KeyValuePair<string, object>>, Stream, string) Method

Syntax

public static IDocument CreateDocument(this IExecutionContext context, IEnumerable<KeyValuePair<string, object>> items, Stream stream, string mediaType = null)

Parameters

Name Type Description
context IExecutionContext
items IEnumerable<KeyValuePair<string, object>>
stream Stream
mediaType string

Return Value

Type Description
IDocument