Clones the current content provider with a new media type.
- Namespace
- Statiq
.Common - Containing Type
- StringContent
- Implements
Syntax
public IContentProvider CloneWithMediaType(string mediaType)
Parameters
Name | Type | Description |
---|---|---|
mediaType | string | The new media type. |
Return Value
Type | Description |
---|---|
IContentProvider | A clone of the current content provider. |