Class DownloadQuery<TDownloadApi>
- Namespace
- Apizr.Mediation.Requesting
- Assembly
- Apizr.Integrations.FileTransfer.MediatR.dll
The mediation download query with a dictionary query parameters type
public class DownloadQuery<TDownloadApi> : DownloadQuery<TDownloadApi, IDictionary<string, object>>, IMediationQuery<FileInfo>, IRequest<FileInfo>, IBaseRequest where TDownloadApi : IDownloadApi
Type Parameters
TDownloadApi
- Inheritance
-
DownloadQuery<TDownloadApi>
- Implements
-
IRequest<FileInfo>IBaseRequest
- Derived
- Inherited Members
Constructors
DownloadQuery(FileInfo, Action<IApizrRequestOptionsBuilder>)
The mediation Read query constructor
public DownloadQuery(FileInfo fileInfo, Action<IApizrRequestOptionsBuilder> optionsBuilder = null)
Parameters
fileInfoFileInfoSome information about the file to download
optionsBuilderAction<IApizrRequestOptionsBuilder>Some request options
DownloadQuery(FileInfo, IDictionary<string, object>, Action<IApizrRequestOptionsBuilder>)
The mediation Read query constructor
public DownloadQuery(FileInfo fileInfo, IDictionary<string, object> downloadParams, Action<IApizrRequestOptionsBuilder> optionsBuilder = null)
Parameters
fileInfoFileInfoSome information about the file to download
downloadParamsIDictionary<string, object>Some query parameters
optionsBuilderAction<IApizrRequestOptionsBuilder>Some request options