This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.AWS.S3.
Summary
Generate the ContentType based on the file extension
- Assembly
- Cake
.AWS .S3 .dll - Namespace
- Cake
.AWS .S3 - Containing Type
- Upload
Settings Extensions
Syntax
public static UploadSettings SetGenerateContentType(this UploadSettings settings, bool generateContentType = true)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | UploadSettings | The sync settings. |
| generateContentType | bool | generate ContentType. |
Return Value
| Type | Description |
|---|---|
| UploadSettings | The same UploadSettings instance so that multiple calls can be chained. |
