Specifies a function to set the media type for each file.
- Namespace
- Statiq
.Core - Containing Type
- ReadFiles
Syntax
public ReadFiles WithMediaType(Func<IFile, string> mediaType)
Parameters
Name | Type | Description |
---|---|---|
mediaType | Func |
A function that determines the media type for each file. |
Return Value
Type | Description |
---|---|
ReadFiles | The current module instance. |