Gets a content provider with the specified media type.
- Namespace
- Statiq
.Testing - Containing Type
- TestFile
- Implements
Syntax
public IContentProvider GetContentProvider(string mediaType)
Parameters
Name | Type | Description |
---|---|---|
mediaType | string | The media type of the content provider. |
Return Value
Type | Description |
---|---|
IContentProvider | The content provider to use with a document. |