Class UploadRequest<TCommand>
Represents the creation of a chunked upload with the app's command, which the validator of the upload takes as a parameter.
Implements
IBindableFromHttpContext<UploadRequest<TCommand>>
Inherited Members
Namespace: Singulink.Net.Http.Api.Service.Uploads
Assembly: Singulink.Net.Http.Api.Service.dll
Syntax
public class UploadRequest<TCommand> : UploadRequest, IBindableFromHttpContext<UploadRequest>, IBindableFromHttpContext<UploadRequest<TCommand>>
Type Parameters
| Name | Description |
|---|---|
| TCommand | The type of the command. |
Constructors
| Name | Description |
|---|---|
| UploadRequest(string, long, TCommand, string?) | Initializes a new instance of the UploadRequest<TCommand> class. |
Properties
| Name | Description |
|---|---|
| Command | Gets the app's command, read with the app's JSON options. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IBindableFromHttpContext<UploadRequest<TCommand>>.BindAsync(HttpContext, ParameterInfo) | Binds the upload request parameter of the validator of a chunked upload, with the command. |