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