- Namespace
- Statiq
.Common - Containing Type
- I
Execution Context Create Document From Stream Extensions
Syntax
public static IDocument CreateDocument(this IExecutionContext context, in NormalizedPath destination, IEnumerable<KeyValuePair<string, object>> items, Stream stream, string mediaType = null)
Parameters
Name | Type | Description |
---|---|---|
context | IExecutionContext | |
destination | NormalizedPath | |
items | IEnumerable |
|
stream | Stream | |
mediaType | string |
Return Value
Type | Description |
---|---|
IDocument |