Gets a content provider with the specified media type.
- Namespace
- Statiq
.Common - Containing Type
- I
Content Provider Factory
Syntax
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. |