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