Constructor UploadedFile
UploadedFile(string, string, long, string?, UploadContent, TCommand)
Initializes a new instance of the UploadedFile<TCommand> class.
Declaration
public UploadedFile(string id, string fileName, long length, string? contentType, UploadContent content, TCommand command)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The upload ID. |
| string | fileName | The name of the file. |
| long | length | The length of the file in bytes. |
| string | contentType | The content type of the file, if the client sent one. |
| UploadContent | content | The content of the file. |
| TCommand | command | The app's command. |